update Ox.load documentation
This commit is contained in:
parent
56dcb0e725
commit
68b89d7628
1 changed files with 2 additions and 1 deletions
|
@ -102,6 +102,7 @@ Ox.load <f> Loads one or more modules
|
|||
and calls `callback` with one argument, `true` for success or `false` if an
|
||||
error occurred. Generally, the module should define `Ox.Foo` and attach its
|
||||
own methods there.
|
||||
(callback) -> <u> undefined
|
||||
(module, callback) -> <u> undefined
|
||||
(module, options, callback) -> <u> undefined
|
||||
(modules, callback) -> <u> undefined
|
||||
|
@ -109,7 +110,7 @@ Ox.load <f> Loads one or more modules
|
|||
options <o> Module options
|
||||
modules <a|o> Multiple modules
|
||||
Either `[moduleA, {moduleB: options}, ...]`
|
||||
or `{moduleA: {}, moduleB: {options}, ...}`
|
||||
or `{moduleA: {}, moduleB: options, ...}`
|
||||
callback <f> Callback function
|
||||
success <b> If true, all modules have been loaded successfully
|
||||
@*/
|
||||
|
|
Loading…
Reference in a new issue