Explorar o código

Correct order for events subscriber

soyjavi %!s(int64=14) %!d(string=hai) anos
pai
achega
9b751aeb9d
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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
 });