mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-23 05:02:48 +01:00
Extracted mode views and controllers into separate features.
This commit is contained in:
@@ -20,7 +20,11 @@
|
||||
clear: function (){
|
||||
this.viewElement.innerHTML = '';
|
||||
},
|
||||
insert: function (htmlElement) {
|
||||
display: function (htmlElement) {
|
||||
if(typeof htmlElement.tagName == "undefined") {
|
||||
htmlElement = app.buildViewFor(htmlElement);
|
||||
}
|
||||
|
||||
var vw = this.viewElement;
|
||||
if(vw.childNodes.length == 0) {
|
||||
vw.appendChild(htmlElement);
|
||||
|
||||
Reference in New Issue
Block a user