angular-ui / angular-ui-OLDREPO

DISCONTINUED REPO: This project has been restructured ->
http://angular-ui.github.com/
MIT License
2.2k stars 356 forks source link

Provided jquery.maskedinput.js incompatible with jQuery 1.9 #495

Closed jdpedrie closed 11 years ago

jdpedrie commented 11 years ago

The version of jquery.maskedinput.js found here causes an error with jQuery 1.9:

Uncaught TypeError: Cannot read property 'msie' of undefined (line 8)

According to this post on StackOverflow, $.browser was removed in jQuery 1.9. Accordingly, removing the reference to $.browser from the plugin fixes the error.

shaungrady commented 11 years ago

I've refactored the uiMask directive from the ground up and it no longer has any dependencies. It will be out with the next AngularUI release.

jdpedrie commented 11 years ago

Is there an expected release date?

shaungrady commented 11 years ago

I'm not responsible for those decisions, so I don't know. The codebase is being reorganized, so things are in a bit of a state of flux at the moment.

You can grab the directive yourself from the repo and add it to your project by hand: https://github.com/angular-ui/angular-ui/tree/master/modules/directives/mask

It's been pretty thoroughly tested and should be able to stand up to a production enviro, but I always welcome any feedback and bug reports.