-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The following pattern results in the titled thrown error:
example.js:
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(factory);
} else {
// Browser globals
root.form2js = factory();
}
}(this, (function(namespace) {
return function () {
...
return something;
};
})(myNamespace)));
Metadata
Metadata
Assignees
Labels
No labels