<<<<<<< HEAD LUNGO.Events.init({ 'section#sec-1 header #btn-toggle-loading tap': App.View.toggleLoading, 'section#sec-2 load': funtion(event) { }; 'a': App.View.toggleLoading }); /* App.Events = (function(lng, undefined) { lng.ready(function() { //lng.View.Aside.toggle('.onright'); setTimeout(function() { lng.View.Element.progress('#progress-normal', 50, true, 'yeah'); lng.View.Element.progress('#progress-big', 75, true, 'yeah'); lng.View.Element.loading('#loading-code', 'white'); }, 1000); }); $$('section#sec-1 header #btn-toggle-loading').tap(function(event) { var el = lng.dom(this); if (el.children('.loading').length > 0) { el.children('.icon').show(); lng.View.Element.loading(this); } else { el.children('.icon').hide(); lng.View.Element.loading(this, 'white'); } }); //SPECIAL $$('section#sec-1').on('load', function(event) { console.error('section#sec-1 loaded', event); console.error('current section', lng.Element.Current.section); lng.Router.article('sec-1', 'nav-2'); }); $$('section#sec-2').on('unload', function(event) { console.error('section#sec-2 unloaded', event); }); $$('section#sec-2').on('load', function(event) { console.error('section#sec-2 loaded', event); }); $$('article#nav-1').on('load', function(event) { console.error('article#nav-1 loaded', event); }); $$('article#nav-3').on('unload', function(event) { console.error('article#nav-1 unloaded', event); }); return { a: a }; })(LUNGO); */ ======= // Generated by CoffeeScript 1.3.3 (function() { LUNGO.Events.init({ "section#a article a tap": App.View.notify /* , "section#sec-1 header #btn-toggle-loading tap": App.View.toggleLoading, "section#sec-1 load": function(event) { console.error("section#sec-1 loaded", event); console.error("current section", lng.Element.Current.section); return LUNGO.Router.article("sec-1", "nav-2"); } */ }); }).call(this); >>>>>>> New themes