insin / insin/inputmask-core

requirejs compatibility

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
303
Forks
51
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.