Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "zone.js", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Zones for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "zone.js", |
@@ -262,2 +262,3 @@ # Zone.js | ||
* [strongloop/zone](https://github.com/strongloop/zone) | ||
* [vizone](https://github.com/gilbox/vizone) – control flow visualizer that uses zone.js | ||
@@ -264,0 +265,0 @@ |
@@ -378,2 +378,10 @@ 'use strict'; | ||
Zone.canPatchViaPropertyDescriptor = function () { | ||
if (!Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') && | ||
typeof Element !== 'undefined') { | ||
// WebKit https://bugs.webkit.org/show_bug.cgi?id=134364 | ||
// IDL interface attributes are not configurable | ||
var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick'); | ||
if (desc && !desc.configurable) return false; | ||
} | ||
Object.defineProperty(HTMLElement.prototype, 'onclick', { | ||
@@ -380,0 +388,0 @@ get: function () { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
348702
5756
267