Use strings in notifyPath. Add elements to notifications

This commit is contained in:
julien Lengrand-Lambert
2017-08-16 21:43:53 +02:00
parent 64700e5ebd
commit 95a71d018f

View File

@@ -26,10 +26,11 @@
},
_changeName: function(){
console.log("changing name");
this.set('element.person', {"name": "bobby"});
this.notifyPath(element);
this.notifyPath(element.person);
this.notifyPath('element');
this.notifyPath('element.person');
this.notifyPath('elements');
}
});
</script>