Including jQuery AFTER rivets breaks rv-value binder

#725 · open · 1 comments

View on GitHub ↗

dnasir

This is most likely due to rivets assigning the jQuery object to a local variable during its initialisation phase. This bug can be demonstrated here: http://embed.plnkr.co/dlHcGbS9kq8uCjGjdYKR/ A simple fix would be to use `window.jQuery` instead of the local variable, as demonstrated here: http://embed.plnkr.co/xDiwQh/ I am personally in favour of removing dependency on jQuery altogether, and letting the consumers override existing binders themselves.

Comments

84pennies

May have the same issue. Using npm to import rivets es6 style and it's complaining about jQuery being undefined in the rv-value binding.