Comparing version 4.0.0 to 4.0.1
@@ -175,5 +175,3 @@ "use strict"; | ||
}, | ||
setup(obj, constructorArgs, privateData) { | ||
if (!privateData) privateData = {}; | ||
privateData.wrapper = obj;\n`; | ||
_internalSetup(obj) {`; | ||
@@ -196,2 +194,13 @@ for (let i = 0; i < this.idl.members.length; ++i) { | ||
this.str += ` | ||
}, | ||
setup(obj, constructorArgs, privateData) { | ||
if (!privateData) privateData = {}; | ||
privateData.wrapper = obj;\n`; | ||
if (this.idl.inheritance) { | ||
this.str += ` | ||
${this.idl.inheritance}._internalSetup(obj);\n`; | ||
} | ||
const implClass = require(this.opts.implDir + "/" + this.name + this.opts.implSuffix); | ||
@@ -198,0 +207,0 @@ this.str += ` |
{ | ||
"name": "webidl2js", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Auto-generates class structures for WebIDL specifications", | ||
@@ -5,0 +5,0 @@ "main": "index.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
31779
927