X-Git-Url: https://git.mdrn.pl/ReadingsJQM.git/blobdiff_plain/b2dcc4cec0edb145ed13c26537c94b593691954f..1be34458067b077d6403eb0bec498759be8fd4ca:/js/app/Controller.js diff --git a/js/app/Controller.js b/js/app/Controller.js index 9222b13..e3ac532 100644 --- a/js/app/Controller.js +++ b/js/app/Controller.js @@ -1,12 +1,14 @@ +// Generated by CoffeeScript 1.3.3 (function() { - Readings.category_list = function(list) { - var cat, labelname, _ref; + $.fn.Readings.CategoryList = function() { + var cat, labelname, list, _ref; + list = $(this); list.empty(); _ref = Readings.config.get('categories'); for (cat in _ref) { labelname = _ref[cat]; - list.append("
  • " + labelname + "
  • "); + list.append("
  • " + labelname + "
  • "); } return list.listview('refresh'); };