We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need amd(requirejs) support like this
(function(global, factory) { 'use strict';
if (typeof define === 'function' && define.amd) { // AMD define('path-js', [], function() { global.Path= factory(); return global.Path; }); } else if (typeof exports !== 'undefined') { // Node/CommonJS exports.Path= factory(); } else { // Browser global global.Path= factory(); } }(this, function() { // code here });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
need amd(requirejs) support
like this
(function(global, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// AMD
define('path-js', [], function() {
global.Path= factory();
return global.Path;
});
} else if (typeof exports !== 'undefined') {
// Node/CommonJS
exports.Path= factory();
} else {
// Browser global
global.Path= factory();
}
}(this, function() {
// code here
});
The text was updated successfully, but these errors were encountered: