Closed alanjames1987 closed 10 years ago
I've also added an observeOnce method to my local repo so that multiple bindings don't get added to the same array.
This is useful for single page applications where the SPA router may run binding code multiple times on a single page load. With a observeOnce method a developer can specify they don't want this behavior.
Thanks for the work on bower support. Could you make just the bower part a separate pull request? I think maybe the observeOnce behavior should be the default observe behavior. I'll give it some more thought.
Sure thing. I will remove the other commit and submit only the Bower support.
I created a file for Bower support. I made the version number 0.0.1 as I'm not sure what version you're on.
If you approve this it will solve issue #4.