Cleanup
This commit is contained in:
parent
d1cf472938
commit
2c1372f075
|
@ -72,6 +72,7 @@ export const addPolyfills = () => {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if (!String.prototype.startsWith) {
|
if (!String.prototype.startsWith) {
|
||||||
Object.defineProperty(String.prototype, 'startsWith', {
|
Object.defineProperty(String.prototype, 'startsWith', {
|
||||||
value: function(search, rawPos) {
|
value: function(search, rawPos) {
|
||||||
|
@ -80,6 +81,7 @@ export const addPolyfills = () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (!String.prototype.includes) {
|
if (!String.prototype.includes) {
|
||||||
String.prototype.includes = function(search, start) {
|
String.prototype.includes = function(search, start) {
|
||||||
|
|
Loading…
Reference in New Issue