Comparing version 0.2.0 to 0.2.1
@@ -23,4 +23,4 @@ "use strict"; | ||
var count = { | ||
el: 1, | ||
opt: 1 | ||
el: 0, | ||
opt: 0 | ||
}; | ||
@@ -34,4 +34,3 @@ var allWrapMap = {}; | ||
if (!wrapId) { | ||
wrapId = count.el; | ||
count.el++; | ||
wrapId = ++count.el; | ||
@@ -63,6 +62,5 @@ if (el.setAttribute) { | ||
(0, _defineProperty2["default"])(this, "addEventListener", function (type, func) { | ||
var thisOptId = count.opt; | ||
var thisOptId = ++count.opt; | ||
var thisTypeMap = (0, _getObjectValue.initMap)(_this.typeMap)(type, []); | ||
var optionMap = _this.optionMap; | ||
count.opt++; | ||
@@ -69,0 +67,0 @@ for (var _len = arguments.length, options = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { |
@@ -8,4 +8,4 @@ import _classCallCheck from "reshow-runtime/es/helpers/classCallCheck"; | ||
var count = { | ||
el: 1, | ||
opt: 1 | ||
el: 0, | ||
opt: 0 | ||
}; | ||
@@ -19,4 +19,3 @@ var allWrapMap = {}; | ||
if (!wrapId) { | ||
wrapId = count.el; | ||
count.el++; | ||
wrapId = ++count.el; | ||
@@ -51,6 +50,5 @@ if (el.setAttribute) { | ||
_defineProperty(this, "addEventListener", function (type, func) { | ||
var thisOptId = count.opt; | ||
var thisOptId = ++count.opt; | ||
var thisTypeMap = initMap(_this.typeMap)(type, []); | ||
var optionMap = _this.optionMap; | ||
count.opt++; | ||
@@ -57,0 +55,0 @@ for (var _len = arguments.length, options = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { |
{ | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"name": "call-func", | ||
@@ -4,0 +4,0 @@ "repository": { |
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
36747
1059