Comparing version 2.4.1 to 2.4.2
{ | ||
"name": "basichtml", | ||
"type": "commonjs", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "A NodeJS based, standard oriented, HTML implementation.", | ||
@@ -6,0 +6,0 @@ "main": "basichtml.js", |
@@ -69,5 +69,5 @@ const Event = require('./Event'); | ||
/* istanbul ignore next */ | ||
if (!event.target) defineProperty(event, 'target', {value: node}); | ||
if (!event.target) defineProperty(event, 'target', {get: () => node}); | ||
/* istanbul ignore next */ | ||
if (!event.currentTarget) defineProperty(event, 'currentTarget', {value: node}); | ||
if (!event.currentTarget) defineProperty(event, 'currentTarget', {get: () => node}); | ||
/* istanbul ignore next */ | ||
@@ -74,0 +74,0 @@ if (!event.eventPhase) defineProperty(event, 'eventPhase', {configurable: true, value: Event.AT_TARGET}); |
Sorry, the diff of this file is too big to display
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
179289