User Google Closure to lazy load javascript -



User Google Closure to lazy load javascript -

i'm liking ability require other javascript classes using google closure, i'm wondering if it's possible utilize goog.require lazy load other javascript classes. when trying using goog.require after page has loaded, seems refresh or go blank :( way script on demand, , maybe set callback, can run javascript when it's done loading?

closure library modulemanager:

https://github.com/google/closure-library/blob/master/closure/goog/module/modulemanager.js

javascript google-closure

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -