Skip to content
This repository was archived by the owner on Dec 11, 2017. It is now read-only.

Added error check for blank mask, which happens with some versions of jQuery.#379

Closed
chrisspen wants to merge 1 commit intodigitalBush:masterfrom
chrisspen:master
Closed

Added error check for blank mask, which happens with some versions of jQuery.#379
chrisspen wants to merge 1 commit intodigitalBush:masterfrom
chrisspen:master

Conversation

@chrisspen
Copy link

When trying to upgrade an old jQuery 1.8 project to jQuery 3, I found this plugin was throwing an error because it was getting called with a {} for mask, and that this error actually broke other functions of jQuery in intermediate jQuery versions. I fixed this by validating mask as a string.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants