From 68b89d7628de0938aece3629a57b73e6446acbc0 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 20 Jun 2012 18:39:31 +0200 Subject: [PATCH] update Ox.load documentation --- source/Ox/js/Core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @*/