Comparing version 4.0.1 to 4.0.2
@@ -177,2 +177,7 @@ "use strict"; | ||
if (this.idl.inheritance) { | ||
this.str += ` | ||
${this.idl.inheritance}._internalSetup(obj);\n`; | ||
} | ||
for (let i = 0; i < this.idl.members.length; ++i) { | ||
@@ -198,8 +203,5 @@ const memberIdl = this.idl.members[i]; | ||
if (!privateData) privateData = {}; | ||
privateData.wrapper = obj;\n`; | ||
privateData.wrapper = obj; | ||
if (this.idl.inheritance) { | ||
this.str += ` | ||
${this.idl.inheritance}._internalSetup(obj);\n`; | ||
} | ||
this._internalSetup(obj);\n`; | ||
@@ -206,0 +208,0 @@ const implClass = require(this.opts.implDir + "/" + this.name + this.opts.implSuffix); |
{ | ||
"name": "webidl2js", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"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
31810
928