Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. ;(function($){
  2.  
  3. // NOTE: Event queue
  4. __e = window.__e || [];
  5.  
  6. var feature = {
  7.  
  8. init:function(){
  9. // Code here
  10. }
  11.  
  12. };
  13.  
  14. /* NOTE: Until all code is converted to use the event queue, this risk running in a different sequence than it current does
  15. __e.push(['dom-complete', function() {
  16. feature.init();
  17. }]);
  18. */
  19. feature.init();
  20.  
  21. // NOTE: For PWA
  22. __e.push(['shamble', function() {
  23. feature.init();
  24. }]);
  25.  
  26. })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement