Ver Fonte

Some no important changes

@soyjavi há 14 anos atrás
pai
commit
72a1a033ba
2 ficheiros alterados com 2 adições e 5 exclusões
  1. 2 2
      src/Lungo.Service.js
  2. 0 3
      src/boot/Lungo.Boot.Events.js

+ 2 - 2
src/Lungo.Service.js

@@ -91,14 +91,14 @@ LUNGO.Service = (function(lng, $$, undefined) {
 
         var url_cache_index = lng.Data.Storage.persistent(URL_CACHE_INDEX_KEY);
         if (url_cache_index) {
-            var time_between = calculateTimeSpent(url_cache_index[url]);
+            var time_between = _calculateTimeSpent(url_cache_index[url]);
             in_cache = _checkIsValidPattern(time_between, date_pattern);
         }
 
         return in_cache;
     };
 
-    var calculateTimeSpent = function(url_last_access) {
+    var _calculateTimeSpent = function(url_last_access) {
         var now = new Date().getTime();
         var service_last_access = new Date(url_last_access).getTime();
 

+ 0 - 3
src/boot/Lungo.Boot.Events.js

@@ -27,7 +27,6 @@ LUNGO.Boot.Events = (function(lng, undefined) {
     var start = function() {
         var touch_move_event  = 'touchmove';
         var resize = 'resize';
-        console.error(SELECTORS);
 
         //@ToDo: Error with input type="range"
         //lng.dom(document).on(touch_move_event, _iScroll);
@@ -69,8 +68,6 @@ LUNGO.Boot.Events = (function(lng, undefined) {
     var _selectTarget = function(link) {
         var target_type = link.data(ATTRIBUTE.TARGET);
 
-        console.error(ELEMENT, target_type);
-
         switch(target_type) {
             case ELEMENT.SECTION:
                 var target_id = link.attr(ATTRIBUTE.HREF);