events.js 789 B

1234567891011121314151617181920212223242526272829303132333435
  1. App.Events = (function(lng, undefined) {
  2. lng.ready(function() {
  3. lng.View.Aside.toggle('.onright');
  4. console.error('LUNGO', LUNGO);
  5. setTimeout(function() {
  6. lng.View.Element.progress('#progress-normal', 50, true, 'yeah');
  7. lng.View.Element.progress('#progress-big', 75, true, 'yeah');
  8. lng.View.Element.loading('#loading-code', 'white');
  9. }, 1000);
  10. });
  11. //SPECIAL
  12. $$('section#navigation').on('load', function(event) {
  13. console.error('Load #navigation', event);
  14. });
  15. $$('section#navigation').on('unload', function(event) {
  16. console.error('Unload', event);
  17. });
  18. $$('article#authors').on('load', function(event) {
  19. console.error('loaded article');
  20. });
  21. })(LUNGO);