remove an onload dependency
This commit is contained in:
parent
863ddfeafa
commit
baf29d068b
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ Ox.SHORT_MONTHS = Ox.MONTHS.map(function(val) {
|
||||||
return val.slice(0, 3);
|
return val.slice(0, 3);
|
||||||
});
|
});
|
||||||
//@ Ox.PATH <str> Path of Ox.js
|
//@ Ox.PATH <str> Path of Ox.js
|
||||||
Ox.PATH = Ox.toArray(
|
Ox.PATH = Array.prototype.slice.call(
|
||||||
document.getElementsByTagName('script')
|
document.getElementsByTagName('script')
|
||||||
).reverse().filter(function(element) {
|
).reverse().filter(function(element) {
|
||||||
return /Ox\.js$/.test(element.src);
|
return /Ox\.js$/.test(element.src);
|
||||||
|
|
Loading…
Reference in a new issue