Browse Source

Changes with SublimeLint

@soyjavi 14 years ago
parent
commit
ca9e74351b

+ 2 - 2
src/Lungo.App.js

@@ -1,6 +1,6 @@
-/** 
+/**
  * Lungo sandbox APP initialization
- * 
+ *
  * @namespace LUNGO
  * @class App
  *

+ 2 - 4
src/Lungo.Core.js

@@ -154,9 +154,7 @@ LUNGO.Core = (function(lng, $$, undefined) {
 
         return data.sort(function(a, b) {
             return (a[property] < b[property]) ? - order_operator :
-                (a[property] > b[property])
-                ?
-                order_operator : 0;
+                (a[property] > b[property]) ? order_operator : 0;
             }
         );
     };
@@ -199,7 +197,7 @@ LUNGO.Core = (function(lng, $$, undefined) {
                 search = element;
                 break;
             }
-        };
+        }
 
         return search;
     };

+ 1 - 1
src/Lungo.Fallback.js

@@ -38,6 +38,6 @@ LUNGO.Fallback = (function(lng, undefined) {
     return {
         androidInputs: androidInputs,
         positionFixed: positionFixed
-    }
+    };
 
 })(LUNGO);

+ 6 - 6
src/data/Lungo.Data.Storage.js

@@ -24,9 +24,9 @@ LUNGO.Data.Storage = (function(lng, undefined) {
      * @param {object} Value
      * @return {string} If no value assigned returns the value of established key
      */
-	var persistent = function(key, value) {
+    var persistent = function(key, value) {
         return _handler(STORAGE.PERSISTENT, key, value);
-	};
+    };
 
     /**
      * Wrapper for SessionStorage
@@ -37,9 +37,9 @@ LUNGO.Data.Storage = (function(lng, undefined) {
      * @param {object} Value
      * @return {string} If no value assigned returns the value of established key
      */
-	var session = function(key, value) {
+    var session = function(key, value) {
         return _handler(STORAGE.SESSION, key, value);
-	};
+    };
 
     var _handler = function(storage, key, value) {
         var storage = window[storage];
@@ -62,8 +62,8 @@ LUNGO.Data.Storage = (function(lng, undefined) {
     };
 
     return {
-    	session: session,
-    	persistent: persistent
+        session: session,
+        persistent: persistent
     };
 
 })(LUNGO);

+ 2 - 2
src/router/Lungo.Router.History.js

@@ -1,6 +1,6 @@
-/** 
+/**
  * Stores the displayed <sections> as a historical.
- * 
+ *
  * @namespace LUNGO.Router
  * @class History
  *

+ 1 - 1
src/view/Lungo.View.Aside.js

@@ -53,7 +53,7 @@ LUNGO.View.Aside = (function(lng, undefined) {
 
     var _asideClass = function(aside) {
         var aside_class = aside.attr(ATTRIBUTE.CLASS);
-        var classes = ''
+        var classes = '';
 
         //@todo: Refactor
         if (aside_class) {

+ 1 - 2
src/view/Lungo.View.Resize.js

@@ -18,8 +18,7 @@ LUNGO.View.Resize = (function(lng, undefined) {
      * @method toolbars
      */
     var toolbars = function() {
-        var toolbar = '.toolbar nav, .groupbar';
-        var all_toolbars = lng.dom(toolbar);
+        var all_toolbars = lng.dom('.toolbar nav, .groupbar');
 
         for (var i = 0, len = all_toolbars.length; i < len; i++) {
             var toolbar = lng.dom(all_toolbars[i]);

+ 1 - 1
src/view/Lungo.View.Template.List.js

@@ -82,7 +82,7 @@ LUNGO.View.Template.List = (function(lng, undefined) {
 
     var _getContainer = function(element) {
         return lng.dom(element).children().first();
-    }
+    };
 
     var _order = function(config) {
         if (config.order && config.order.field && config.order.type) {