| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <<<<<<< 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
|