1
0
Fork 0
forked from 0x2620/oxjs

remove unneeded Ox. prefix from path and file names

This commit is contained in:
rolux 2014-09-26 15:51:50 +02:00
commit 51696562f1
1365 changed files with 43 additions and 43 deletions

View file

@ -32,11 +32,11 @@ Ox.load <f> Loads OxJS and, optionally, one or more modules
`Ox.load({moduleA: {}, moduleB: optionsB, ...}, callback)` (multiple modules
without and with options).</li></ul>
<br>
A module named 'Foo' provides `Ox.Foo/Ox.Foo.js`, in which it defines one
method, `Ox.load.Foo`, that takes two arguments, `options` and `callback`,
and calls `callback` with one argument, `true` for success or `false` if an
error occurred. A third-party module should define `Ox.Foo` and attach its
own methods there.
A module named 'Foo' provides `Foo/Foo.js`, in which it defines one method,
`Ox.load.Foo`, that takes two arguments, `options` and `callback`, and calls
`callback` with one argument, `true` for success or `false` if an error
occurred. A third-party module should define `Ox.Foo` and attach its own
methods there.
([min ,]callback) -> <u> undefined
([min ,]module, callback) -> <u> undefined
([min ,]module, options, callback) -> <u> undefined
@ -78,7 +78,7 @@ Ox.load = function() {
} else {
Ox.forEach(modules, function(options, module) {
Ox.getFile(
Ox.PATH + 'Ox.' + module + '/Ox.' + module + '.js?' + Ox.VERSION,
Ox.PATH + module + '/' + module + '.js?' + Ox.VERSION,
function() {
Ox.load[module](options, function(success) {
succeeded += success;