Home

# Library goog.module

Function Summary
| `initLoader(string urlBase, ?Function= opt_urlFunction)` Wrapper of init() so that we only need to export this single identifier instead of three. See method goog.module.Loader.init() for explanation of param.
| `isNull_(?Object el, number i, ?Array.<(Object|null)> arr) ⇒ boolean` Checks if the given element is null.
| `loaderCall(string module, number symbol) ⇒ !Function` Produces a function that delegates all its arguments to a dynamically loaded function. This is used to export dynamically loaded functions.
| `provide(string module, number= opt_symbol, ?Object= opt_object)` Wrapper of goog.module.Loader.provide() for use in modules See method goog.module.Loader.provide() for explanation of params.
| `require(string module, number symbol, ?Function callback)` Wrapper of goog.module.Loader.require() for use in modules. See method goog.module.Loader.require() for explanation of params.
| `requireMultipleSymbols(?Array.<(Object|null)> symbolRequests, ?Function finalCb)` Requires symbols for multiple modules, and invokes a final callback on the condition that all of them are loaded. I.e. a barrier for loading of multiple symbols. If no symbols are required, the final callback is called immediately.
| `requireMultipleSymbolsHelper_(?Array.<(Object|null)> symbolRequests, number i, ?Function finalCb)` Used by requireMultipleSymbols() to load each required symbol and keep track how many are loaded, and finally invoke the barrier callback when they are all done.