browserify-async-define
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -80,7 +80,7 @@ var path = require('path'); | ||
var name = t[0]; | ||
return "asyncDefine(" + quote(label) + ", function(){return " + mangleName(name) + ";});" | ||
return "require('async-define')(" + quote(label) + ", function(){return " + mangleName(name) + ";});" | ||
}) | ||
.join('\n'); | ||
return ["var asyncDefine = require('async-define');", requires, defines].join('\n'); | ||
return [requires, defines].join('\n'); | ||
} | ||
@@ -87,0 +87,0 @@ |
{ | ||
"name": "browserify-async-define", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "Browserify plugin for async-define", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,4 +11,3 @@ var path = require('path'); | ||
var s = sym ? quote(sym) + "," : ""; | ||
var out = ["var asyncDefine = require('async-define');"]; | ||
out.push("asyncDefine(" + s + d + "function (" + a + "){" ); | ||
var out = ["require('async-define')(" + s + d + "function (" + a + "){"]; | ||
out.push(body); | ||
@@ -15,0 +14,0 @@ if (sym){ |
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
13312
278