Greg Larrenaga
Greg Larrenaga
@Leeds-eBooks Unfortunately I think this is a real bug. I was going to look into it more. I do not fully understand why it is an issue.
Rivets binding and property observation works by wrapping all the bound objects ['has own'](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty) properties in getters and setters. A prototype method does not fall into this category. Checkout the...
@stalniy No, we have been busy with the other PR's and pushing our own 0.9 commitments forward. This has to do with components, which I believe is the least understood...
Hi @daslicht, There was a pull request some time back to make this possible. This was done before my time luking here. It might still work? Check this out: https://github.com/mikeric/rivets/pull/253
This is awesome! The web component support makes it even more compelling. Good job.
That is odd. I played with your fiddle and it seems to me like the template existing in the DOM and being accessed by innerHTML has already stripped the curly...
@stalniy Can you describe what you mean? Rivets wraps observed properties in getters and setters. If you have a custom getter on a obj property that getter will be overwritten.
Oh, Dang. That is interesting. So, it seems like if you define a custom getter or setter on property than the binding does not work at all. Should Rivets wrap...
@tanshul22 Your example is pretty cool, but very complex. Can you boil it down to just a `rv-text` that is bound, then unbound? And tell us what behavior you have...
This can be done. But...I hope someone else chimes in with a better solution, cause mine is a little dirty I think. Check out this fiddle: http://jsfiddle.net/af8qwh8j/ The gist of...