angular-ui / ui-mask

Mask on an input field so the user can only type pre-determined pattern
https://htmlpreview.github.io/?https://github.com/angular-ui/ui-mask/master/demo/index.html
MIT License
391 stars 257 forks source link

package v1.8.7 on npm is not up to date with the code in the repo #236

Open hadason opened 6 years ago

hadason commented 6 years ago

The last commit is missing from the package on npm (v1.8.7). (https://www.npmjs.com/package/angular-ui-mask)

The following code is not part of the mask.js file in the dist folder:

catch (ex) {
  //this is for certain mobile browsers that have the Event object
  //but don't support the Event constructor #168
  change = document.createEvent('HTMLEvents');
  change.initEvent('change', false, true);
} finally {