fnpjs: remove unused code
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 11 Aug 2014 08:02:00 +0000 (10:02 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 14 Aug 2014 09:46:41 +0000 (11:46 +0200)
src/fnpjs/runner.js

index 6c28a61..f3edd31 100644 (file)
@@ -33,10 +33,6 @@ var Runner = function(app, modules) {
             return bootstrappedData[moduleName];
         };
         
             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) {
         this.publish = function(eventName) {
             var eventArgs = Array.prototype.slice.call(arguments, 1);
             _.each(eventListeners, function(listenerModuleName) {