add Function.js, some updates in OxJS
This commit is contained in:
parent
80f9a1a33d
commit
1db649bd61
6 changed files with 123 additions and 90 deletions
|
|
@ -35,7 +35,7 @@ if (!Array.prototype.forEach) {
|
|||
fn.call(that, arr[i], i, arr);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/indexOf
|
||||
|
|
@ -55,7 +55,7 @@ if (!Array.prototype.indexOf) {
|
|||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/map
|
||||
|
|
@ -74,7 +74,7 @@ if (!Array.prototype.map) {
|
|||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/reduce
|
||||
|
|
@ -116,5 +116,5 @@ if (!Object.keys) {
|
|||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue