requirejs-react-jsx
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -88,6 +88,8 @@ define(function () { | ||
write: function (pluginName, name, write) { | ||
if (typeof buildMap[name] === 'text') { | ||
if (typeof buildMap[name] === 'string') { | ||
var text = buildMap[name]; | ||
write.asModule(pluginName + "!" + name, text); | ||
} else { | ||
throw new Error('Module not found in build map: ' + name); | ||
} | ||
@@ -94,0 +96,0 @@ } |
{ | ||
"name": "requirejs-react-jsx", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A RequireJS plugin for loading jsx in require.js and r.js", | ||
@@ -5,0 +5,0 @@ "main": "jsx.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
905768
3564