es6-symbol
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "es6-symbol", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "ECMAScript 6 Symbol polyfill", | ||
@@ -22,6 +22,6 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)", | ||
"d": "~0.1.1", | ||
"es5-ext": "~0.10.7" | ||
"es5-ext": "~0.10.8" | ||
}, | ||
"devDependencies": { | ||
"tad": "~0.2.3", | ||
"tad": "~0.2.4", | ||
"xlint": "~0.2.2", | ||
@@ -28,0 +28,0 @@ "xlint-jslint-medikoo": "~0.1.4" |
@@ -15,3 +15,3 @@ 'use strict'; | ||
return function (desc) { | ||
var postfix = 0, name; | ||
var postfix = 0, name, ie11BugWorkaround; | ||
while (created[desc + (postfix || '')]) ++postfix; | ||
@@ -22,3 +22,10 @@ desc += (postfix || ''); | ||
defineProperty(objPrototype, name, d.gs(null, function (value) { | ||
// For IE11 issue see: | ||
// https://connect.microsoft.com/IE/feedbackdetail/view/1928508/ | ||
// ie11-broken-getters-on-dom-objects | ||
// https://github.com/medikoo/es6-symbol/issues/12 | ||
if (ie11BugWorkaround) return; | ||
ie11BugWorkaround = true; | ||
defineProperty(this, name, d(value)); | ||
ie11BugWorkaround = false; | ||
})); | ||
@@ -25,0 +32,0 @@ return name; |
Sorry, the diff of this file is not supported yet
13630
197
Updatedes5-ext@~0.10.8