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:
parent
e1f982a3dd
commit
b36a35faf4
3 changed files with 1 additions and 19 deletions
|
@ -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
|
@ -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();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue