mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:02:31 +02:00
Fall back to String#contains when #includes is not supported.
Changeover was FF40.
This commit is contained in:
1 parent
a19a8653c1
commit
cb42274a46
1 file changed
+4
@@ -67,4 +67,8 @@
|
||||
for (let [i, value] of this.entries())
|
||||
yield value;
|
||||
};
|
||||
|
||||
if (!String.prototype.includes)
|
||||
String.prototype.includes = String.prototype.contains;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user