Przeglądaj źródła

Correct order for events subscriber

soyjavi 14 lat temu
rodzic
commit
9b751aeb9d
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      examples/test/app/events.js

+ 3 - 3
examples/test/app/events.js

@@ -1,9 +1,9 @@
 
 Lungo.Events.init({
-    'section#a article a tap': function(){
+    'tap section#a article a': function(){
         Lungo.Notification.loading('hole', '1', 'user');
     },
-    'section#sec-1 header #btn-toggle-loading tap': App.View.toggleLoading,
-    'section#sec-2 load': App.View.toggleLoading
+    'tap section#sec-1 header #btn-toggle-loading': App.View.toggleLoading,
+    'load section#sec-2 load': App.View.toggleLoading
 });