We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17c1018 commit d70e6abCopy full SHA for d70e6ab
web/compatibility.js
@@ -79,10 +79,9 @@
79
80
// Object.defineProperty() ?
81
(function checkObjectDefinePropertyCompatibility() {
82
- // safari 5 cannot use this on DOM objects and thus is unusable,
83
- // see http://kangax.github.com/es5-compat-table/
+ // safari 5 and 6 cannot use this on DOM objects and thus it's unusable,
84
if ((typeof Object.defineProperty !== 'undefined') &&
85
- /Safari\/5/.test(navigator.userAgent)) return;
+ !/Safari/.test(navigator.userAgent)) return;
86
87
Object.defineProperty = function objectDefineProperty(obj, name, def) {
88
delete obj[name];
0 commit comments