Sha256: 9a1256d5b92bc4a61e2dc78c7626abad181d2cdca38152f1ee2b531ca7249207

Contents?: true

Size: 694 Bytes

Versions: 1

Compression:

Stored size: 694 Bytes

Contents

/* Copyright 2013 Google Inc. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0, found in the LICENSE file.
 */

var allocations = <%= Yajl::Encoder.encode(@allocations) %>;
var pwd = "<%= Dir.pwd %>";
var classAbbreviations = {};

$(function() {
  fillClassAbbreviations();

  fillTableWith(
      _.sortBy(
          tupleize(_.groupBy(filterAllocationsByControls(), byFileLineAndClassPlus)),
          valueLength
      ),
      ["file", "line", "class+ (abbrev)"]
  );

  $("#gb-controls input").change(refillTable);
  $("#filter-controls input").change(refillTable);
  $("#filter-count").change(refillTable);
  $("#option-abbreviate-classes").change(refillTable);
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-allocation_stats-0.1.2 lib/rack/allocation_stats/interactive/allocations.js.erb