partial support of plain numbers.

This commit is contained in:
Borys Levytskyi
2015-04-03 14:28:17 +03:00
parent a2c6b5bcd8
commit fd03747475
4 changed files with 76 additions and 21 deletions

View File

@@ -96,8 +96,11 @@
continue;
}
element.addEventListener('DOMNodeRemoved', function () {
ctrl.detachView();
element.addEventListener('DOMNodeRemoved', function (evt) {
if(element === evt.target) {
ctrl.detachView();
}
console.log(ctrlName + ' Controller: view detached');
});
}