Rivets.js if binding update bug
Deep bindings within rv-if statement are not updated when deep objects replaced.
HTML
<script src="https://rawgit.com/mikeric/rivets/master/dist/rivets.bundled.min.js"></script>
<body>
<div rv-each-foo="vm.foo">
foo {index} <div rv-show="vm.isLive">Live within each</div>
</div>
<br><br>
<div rv-show="vm.isLive">Live outside each</div>
</body>
JavaScript
var model = {
isLive: false,
foo: [
{},
{}
]
};
var view = rivets.bind(document, { vm: model });
model.isLive = !model.isLive;