@soyjavi 14 лет назад
Родитель
Сommit
308a754294
2 измененных файлов с 5 добавлено и 1 удалено
  1. 4 0
      examples/test/app/events.js
  2. 1 1
      vendor/build.sh

+ 4 - 0
examples/test/app/events.js

@@ -1,5 +1,9 @@
 LUNGO.Events.init({
     'section#sec-1 header #btn-toggle-loading tap': App.View.toggleLoading,
+    'section#sec-2 load': funtion(event) {
+
+    };
+
     'a': App.View.toggleLoading
 });
 

+ 1 - 1
vendor/build.sh

@@ -20,7 +20,7 @@ echo -e "\033[0m"============================ LUNGO COMPILER ===================
     #Main
     DIR=$LUNGO_SOURCES$LUNGO_NAMESPACE
     echo -e "\033[33m  [DIR]: "$LUNGO_SOURCES
-    FILES=(js Constants.js App.js Core.js Dom.js Service.js Element.js Fallback.js)
+    FILES=(js Constants.js App.js Core.js Dom.js Service.js Element.js Fallback.js Events.js)
     for file in "${FILES[@]}"
     do
         FILES_TO_COMPILE=$FILES_TO_COMPILE" --js "$DIR$file