dom-event-object
Advanced tools
Comparing version 1.0.2 to 1.0.5
@@ -54,2 +54,2 @@ "use strict"; | ||
exports.EventObject = EventObject; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tLWV2ZW50LW9iamVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9kb20tZXZlbnQtb2JqZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBUUE7SUFHRSxxQkFBWSxNQUFvQjtRQUM5QixJQUFJLENBQUMsWUFBWSxHQUFHLE1BQU0sSUFBSSxRQUFRLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxJQUFJLFFBQVEsQ0FBQyxzQkFBc0IsRUFBRSxDQUFDO1FBQ2pHLE1BQU0sQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLFlBQVksRUFBRSxjQUFjLEVBQUU7WUFDdkQsS0FBSyxFQUFFLElBQUk7U0FDWixDQUFDLENBQUM7SUFDTCxDQUFDO0lBRUQsc0JBQUksMENBQWlCO2FBQXJCO1lBQ0UsSUFBTSxNQUFNLEdBQUcsSUFBSSxDQUFDLFlBQW9CLENBQUM7WUFDekMsTUFBTSxDQUFDLEtBQUssQ0FBQyxTQUFTLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxFQUFFLEVBQUUsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxVQUFDLEtBQVc7Z0JBQ3pFLE1BQU0sQ0FBQyxLQUFLLENBQUMsY0FBYyxDQUFDLENBQUM7WUFDL0IsQ0FBQyxDQUFDLENBQUM7UUFDTCxDQUFDOzs7T0FBQTtJQUVELHNCQUFJLDBDQUFpQjthQUFyQjtZQUNFLElBQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxZQUFvQixDQUFDO1lBQ3pDLEVBQUUsQ0FBQSxDQUFDLENBQUMsZUFBZSxJQUFJLE1B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xuICAgIHRoaXMuX2V2ZW50VGFyZ2V0LnJlbW92ZUV2ZW50TGlzdGVuZXIodHlwZSwgY2FsbGJhY2ssIG9wdGlvbnMgYXMgYW55KTtcclxuICB9XHJcblxyXG59XHJcbiJdfQ== |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:true});var EventObject=function(){function e(e){this._eventTarget=e||document.createDocumentFragment()}e.prototype.addEventListener=function(e,t,n){this._eventTarget.addEventListener(e,t,n)};e.prototype.dispatchEvent=function(e){return this._eventTarget.dispatchEvent(e)};e.prototype.removeEventListener=function(e,t,n){this._eventTarget.removeEventListener(e,t,n)};e.prototype.appendChild=function(t){if("appendChild"in this._eventTarget){if(t instanceof e){this._eventTarget.appendChild(t._eventTarget)}else{this._eventTarget.appendChild(t)}}else{throw new Error("Target doen't support appendChild")}};e.prototype.removeChild=function(t){if("removeChild"in this._eventTarget){if(t instanceof e){this._eventTarget.removeChild(t._eventTarget)}else{this._eventTarget.removeChild(t)}}else{throw new Error("Target doen't support removeChild")}};return e}();exports.EventObject=EventObject; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:true});var EventObject=function(){function e(e){this._eventTarget=e||document.createElement("div")||document.createDocumentFragment();Object.defineProperty(this._eventTarget,"_eventObject",{value:this})}Object.defineProperty(e.prototype,"childEventObjects",{get:function(){var e=this._eventTarget;return Array.prototype.concat.apply([],e.childNodes).map(function(e){return e["_eventObject"]})},enumerable:true,configurable:true});Object.defineProperty(e.prototype,"parentEventObject",{get:function(){var e=this._eventTarget;if("parentElement"in e&&e.parentNode!==null&&"_eventObject"in e.parentNode){return e.parentNode["_eventObject"]}else{return null}},enumerable:true,configurable:true});e.prototype.appendChild=function(e){this._eventTarget.appendChild(e._eventTarget);return e};e.prototype.removeChild=function(e){this._eventTarget.removeChild(e._eventTarget);return e};e.prototype.addEventListener=function(e,t,n){this._eventTarget.addEventListener(e,t,n)};e.prototype.dispatchEvent=function(e){return this._eventTarget.dispatchEvent(e)};e.prototype.removeEventListener=function(e,t,n){this._eventTarget.removeEventListener(e,t,n)};return e}();exports.EventObject=EventObject; |
{ | ||
"name": "dom-event-object", | ||
"version": "1.0.2", | ||
"version": "1.0.5", | ||
"description": "Allow any class to have EventTarget methods (addEventListener, removeEventLister and dispatchEvent)", | ||
@@ -5,0 +5,0 @@ "main": "dist/dom-event-object.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19994
0