Browse Source

Fixed issue when response it's null

@soyjavi 14 năm trước cách đây
mục cha
commit
e4a5f9eab9
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/boot/Lungo.Boot.Stats.js
  2. 1 1
      src/boot/Lungo.Boot.js

+ 1 - 1
src/boot/Lungo.Boot.Stats.js

@@ -31,7 +31,7 @@ LUNGO.Boot.Stats = (function(lng, undefined) {
             name: lng.App.get('name'),
             version: lng.App.get('version'),
             icon: lng.App.get('icon')
-        });
+        }, function(response) {});
     };
 
     return {

+ 1 - 1
src/boot/Lungo.Boot.js

@@ -11,12 +11,12 @@
 LUNGO.Boot = (function(lng, undefined) {
 
     return function() {
-        lng.Boot.Stats.start();
         lng.Boot.Layout.start();
         lng.Boot.Events.start();
         lng.Boot.Data.start();
         lng.Boot.Section.start();
         lng.Boot.Article.start();
+        lng.Boot.Stats.start();
     };
 
 })(LUNGO);