X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/412e60ded1457ec0f408e2234c9dd60122929bac..efe36f4f1b5df351eeb4d40a54c3900cf9a7079b:/modules/indicator/indicator.js diff --git a/modules/indicator/indicator.js b/modules/indicator/indicator.js deleted file mode 100644 index 827a4b7..0000000 --- a/modules/indicator/indicator.js +++ /dev/null @@ -1,35 +0,0 @@ -define([ -'libs/jquery', -'libs/underscore', -'libs/text!./template.html' -], function($, _, template) { - -'use strict'; - -return function(sandbox) { - - var view = { - dom: $(_.template(template)()), - setup: function() { - - } - }; - - return { - start: function() { sandbox.publish('ready'); }, - getView: function() { return view.dom; }, - showMessage: function(msg) { - view.dom.html('' + msg + '').show(); - }, - clearMessage: function(report) { - view.dom.empty(); - if(report && report.message) { - view.dom.html('' + report.message + '').show().fadeOut(4000); - } - } - - }; - -}; - -});