0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Remove polyfill for FF3.5

That's way too old to support any more.
This commit is contained in:
Neil Jenkins 2020-03-11 14:36:30 +11:00
parent e1f982a3dd
commit b36a35faf4
3 changed files with 1 additions and 19 deletions

View file

@ -50,15 +50,6 @@ var notWS = /[^ \t\r\n]/;
var indexOf = Array.prototype.indexOf;
// Polyfill for FF3.5
if ( !Object.create ) {
Object.create = function ( proto ) {
var F = function () {};
F.prototype = proto;
return new F();
};
}
/*
Native TreeWalker is buggy in IE and Opera:
* IE9/10 sometimes throw errors when calling TreeWalker#nextNode or

File diff suppressed because one or more lines are too long

View file

@ -45,12 +45,3 @@ var canWeakMap = typeof WeakMap !== 'undefined';
var notWS = /[^ \t\r\n]/;
var indexOf = Array.prototype.indexOf;
// Polyfill for FF3.5
if ( !Object.create ) {
Object.create = function ( proto ) {
var F = function () {};
F.prototype = proto;
return new F();
};
}