We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33a5cda commit e537801Copy full SHA for e537801
1 file changed
lib/director/browser.js
@@ -6,24 +6,6 @@
6
*
7
*/
8
9
-if (!Array.prototype.filter) {
10
- Array.prototype.filter = function(filter, that) {
11
- var other = [], v;
12
- for (var i = 0, n = this.length; i < n; i++) {
13
- if (i in this && filter.call(that, v = this[i], i, this)) {
14
- other.push(v);
15
- }
16
17
- return other;
18
- };
19
-}
20
-
21
-if (!Array.isArray){
22
- Array.isArray = function(obj) {
23
- return Object.prototype.toString.call(obj) === '[object Array]';
24
25
26
27
var dloc = document.location;
28
29
function dlocHashEmpty() {
0 commit comments