X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/3300786073de06446670a1779d35451c8ddef953..d613d2e064ec2eb9d5ddf26337082f2904cbac89:/modules/indicator/indicator.js?ds=sidebyside
diff --git a/modules/indicator/indicator.js b/modules/indicator/indicator.js
index f395f83..d98fe04 100644
--- a/modules/indicator/indicator.js
+++ b/modules/indicator/indicator.js
@@ -1,35 +1,35 @@
-define([
-'libs/jquery-1.9.1.min',
-'libs/underscore-min',
-'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);
- }
- }
-
- }
-
-}
-
-});
+define([
+'libs/jquery-1.9.1.min',
+'libs/underscore-min',
+'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);
+ }
+ }
+
+ };
+
+};
+
+});