X-Git-Url: https://git.mdrn.pl/ReadingsJQM.git/blobdiff_plain/73af928a408ac7e0f5eb0f724befb0ad04421a59..b2dcc4cec0edb145ed13c26537c94b593691954f:/js/app/Controller.js diff --git a/js/app/Controller.js b/js/app/Controller.js new file mode 100644 index 0000000..9222b13 --- /dev/null +++ b/js/app/Controller.js @@ -0,0 +1,14 @@ +(function() { + + Readings.category_list = function(list) { + var cat, labelname, _ref; + list.empty(); + _ref = Readings.config.get('categories'); + for (cat in _ref) { + labelname = _ref[cat]; + list.append("