loader.js
No description.

File Location

/goog/module/loader.js

Classes

goog.module.Loader
The dynamic loading functionality is defined as a class. The class will be used as singleton. There is, however, a two step initialization procedure because parameters need to be passed to the goog.module.Loader instance.

Public Protected Private

Global Functions

goog.module.Loader.getInstance()
No description.
code »
goog.module.Loader.loaderEval_(t_)
Loads the module by evaluating the javascript text in the current scope. Uncompiled, base identifiers are visible in the global scope; when compiled they are visible in the closure of the anonymous namespace. Notice that this cannot be replaced by the global eval, because the global eval isn't in the scope of the anonymous namespace function that the jscompiled code lives in.
Arguments:
t_ : string
The javascript text to evaluate. IMPORTANT: The name of the identifier is chosen so that it isn't compiled and hence cannot shadow compiled identifiers in the surrounding scope.
code »

Directory module

File Reference