fix dependencies

This commit is contained in:
rolux 2012-09-04 00:45:43 +02:00
commit bed08786a1
3 changed files with 11 additions and 4 deletions

View file

@ -77,7 +77,7 @@ Ox.SHORT_MONTHS = Ox.MONTHS.map(function(val) {
return val.slice(0, 3);
});
//@ Ox.PATH <str> Path of Ox.js
Ox.PATH = Array.prototype.slice.call(
Ox.PATH = Ox.toArray(
document.getElementsByTagName('script')
).reverse().filter(function(element) {
return /Ox\.js$/.test(element.src);

View file

@ -64,7 +64,7 @@
},
salt = Ox.range(2).map(function(){
return Ox.range(16).map(function() {
return String.fromCharCode(65 + Ox.random(26));
return Ox.char(65 + Ox.random(26));
}).join('');
});