events.js 636 B

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