jacopotarantino / angular-match-media

Angular module to use Bootstrap3 media queries in your angular controllers.
https://jack.ofspades.com/angular-matchmedia-module/
Other
135 stars 37 forks source link

New version, complete revision #10

Closed bensurman closed 9 years ago

bensurman commented 9 years ago

Hey, I've added the new version instead of edit the old as its a complete rewrite.

In brief, the main changes are:

Update: I changed bind to make it easier to assign & deregister. I was thinking of adding a if else style method too when I get time, that takes two callbacks and alternately fires them on match/unmatch. Or a when and not method that seperately fire callbacks. Or all 3! :P

Let me know if you want me to submit a PR with fewer changes first.

bensurman commented 9 years ago

closing this for now as its been a while. let me know if you want me to reopen it!