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 {
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: