forked from 0x2620/oxjs
minor changes, mostly documentation
This commit is contained in:
parent
9265efe61a
commit
044da383db
3 changed files with 9 additions and 9 deletions
|
|
@ -85,12 +85,12 @@ window.Ox = function(val) {
|
|||
|
||||
/*@
|
||||
Ox.load <f> Loads a module
|
||||
A module named "Test" provides <code>Ox.Test/Ox.Test.js</code>, in which it
|
||||
defines one method, <code>Ox.load.Test</code>, that takes two arguments,
|
||||
A module named "Foo" provides <code>Ox.Foo/Ox.Foo.js</code>, in which it
|
||||
defines one method, <code>Ox.load.Foo</code>, that takes two arguments,
|
||||
<code>options</code> and <code>callback</code>, and calls
|
||||
<code>callback</code> with one argument, <code>true</code> for success or
|
||||
<code>false</code> if an error occurred. Generally, the module should
|
||||
define <code>Ox.Test</code> and attach its own methods there.
|
||||
define <code>Ox.Foo</code> and attach its own methods there.
|
||||
(module, callback) -> <u> undefined
|
||||
(module, options, callback) -> <u> undefined
|
||||
(modules, callback) -> <u> undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue