FunctionMangler Class
??? Description
Item Index
Methods
_initDojoPrototype
()
private
[_initDojoPrototype description] Adds following extensions:
topic.subscrive(name, listener, scope)
- An extension of dojoLang.subscribe that allows the callback function to be hitched with the given scope.dojoOn(target, type, listener, scope)
-
_wrapFileCallInPromise
(
Function
private
-
readMethod
Helper function for wrapping File API calls in Promise objects. Used for building a series of helpers which call different file read methods.
Parameters:
-
readMethod
Stringa string indicating the FileReader method to call
Returns:
Function:
a function which accepts a {File} object and returns a Promise
load
(
type
-
id
-
require
-
load
[load description]
Parameters:
-
id
type[description]
-
require
type[description]
-
load
type[description]
Returns:
type:
[description]