Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;(function($){
- // NOTE: Event queue
- __e = window.__e || [];
- var feature = {
- init:function(){
- // Code here
- }
- };
- /* NOTE: Until all code is converted to use the event queue, this risk running in a different sequence than it current does
- __e.push(['dom-complete', function() {
- feature.init();
- }]);
- */
- feature.init();
- // NOTE: For PWA
- __e.push(['shamble', function() {
- feature.init();
- }]);
- })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement