From: Aleksander Ɓukasz Date: Mon, 11 Aug 2014 08:02:00 +0000 (+0200) Subject: fnpjs: remove unused code X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/4d6952a4226d716edc2da617f9487b2a989d038a?ds=inline;hp=-c fnpjs: remove unused code --- 4d6952a4226d716edc2da617f9487b2a989d038a diff --git a/src/fnpjs/runner.js b/src/fnpjs/runner.js index 6c28a61..f3edd31 100644 --- a/src/fnpjs/runner.js +++ b/src/fnpjs/runner.js @@ -33,10 +33,6 @@ var Runner = function(app, modules) { return bootstrappedData[moduleName]; }; - this.getTemplate = function(templateName) { - return _.template($('[data-template-name="' + moduleName + '.' + templateName + '"]').html().trim()); - }; - this.publish = function(eventName) { var eventArgs = Array.prototype.slice.call(arguments, 1); _.each(eventListeners, function(listenerModuleName) {