mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-11 15:32:09 +01:00
Minor fixes
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
if(vw.childNodes.length == 0) {
|
||||
vw.appendChild(htmlElement);
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
vw.insertBefore(htmlElement, vw.childNodes[0]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
Container.prototype.resolveProperties = function (instance) {
|
||||
for(var property in instance) {
|
||||
if(property[0] == '$') {
|
||||
if(property[0] == '$' && instance[property] == null) {
|
||||
var name = property.substr(1, property.length - 1);
|
||||
instance[property] = this.resolve(name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user