mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-16 17:23:32 +01:00
Fall back to String#contains when #includes is not supported.
Changeover was FF40.
This commit is contained in:
@@ -67,4 +67,8 @@
|
|||||||
for (let [i, value] of this.entries())
|
for (let [i, value] of this.entries())
|
||||||
yield value;
|
yield value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!String.prototype.includes)
|
||||||
|
String.prototype.includes = String.prototype.contains;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user