Skip to content

requirejs compatibility #34

@lacmuch

Description

@lacmuch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions