/* 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); });