diff --git a/source/Ox/js/Core.js b/source/Ox/js/Core.js index 47e80baa..11cf5e10 100644 --- a/source/Ox/js/Core.js +++ b/source/Ox/js/Core.js @@ -102,6 +102,7 @@ Ox.load 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) -> undefined (module, callback) -> undefined (module, options, callback) -> undefined (modules, callback) -> undefined @@ -109,7 +110,7 @@ Ox.load Loads one or more modules options Module options modules Multiple modules Either `[moduleA, {moduleB: options}, ...]` - or `{moduleA: {}, moduleB: {options}, ...}` + or `{moduleA: {}, moduleB: options, ...}` callback Callback function success If true, all modules have been loaded successfully @*/