Refactoring: cleaning directories structure
[fnpeditor.git] / modules / indicator / indicator.js
diff --git a/modules/indicator/indicator.js b/modules/indicator/indicator.js
deleted file mode 100644 (file)
index 827a4b7..0000000
+++ /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('<span>' + msg + '</span>').show();
-        },
-        clearMessage: function(report) {
-            view.dom.empty();
-            if(report && report.message) {
-                view.dom.html('<span class="success">' + report.message + '</span>').show().fadeOut(4000);
-            }
-        }
-        
-    };
-
-};
-
-});