If you change the last line with these: if (typeof define === 'function' && define.amd) { define([], function() { return InputMask }); } else if (typeof exports === 'object') { module.exports = InputMask; } ...it can be used with requirejs
If you change the last line with these:
if (typeof define === 'function' && define.amd) {
define([], function() { return InputMask });
} else if (typeof exports === 'object') {
module.exports = InputMask;
}
...it can be used with requirejs