Comparing version 1.2.14 to 1.2.15
@@ -58,3 +58,3 @@ { | ||
}, | ||
"version": "1.2.14" | ||
"version": "1.2.15" | ||
} |
@@ -32,9 +32,8 @@ /* | ||
this.addError('"module" attribute is required'); | ||
return; | ||
} | ||
if (!varName) { | ||
this.addError('"var" attribute is required'); | ||
} | ||
if (module && varName) { | ||
if (varName) { | ||
template.addStaticVar(varName, 'require(' + module + ')'); | ||
} else { | ||
template.functionCall('require', module); | ||
} | ||
@@ -41,0 +40,0 @@ } |
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
427925