zk.afterLoad('zk', function() { var xNoDOM = {}; zk.override(zk.NoDOM, xNoDOM, { bind_: function () { if (this.getMold() == 'nodom') { var context = this.$getInterceptorContext$(); this.$supers('bind_', context.args); var node = this.$n('tmp'), desc = this.getZclass() + ' ' + this.uuid, startDesc = desc + ' start', endDesc = desc + ' end'; if (node) { var start = document.createComment(startDesc); var end = document.createComment(endDesc); var parentNode = node.parentNode; parentNode.insertBefore(start, node); var endNode = node, lastChild = this.lastChild; if (lastChild) { if(lastChild.getMold() === 'nodom') { endNode = lastChild._endNode; } else { var lastChildNode = lastChild.$n(); if (!lastChildNode) lastChildNode = jq(lastChild.uuid, zk)[0]; if (lastChildNode) endNode = lastChildNode; } } parentNode.insertBefore(end, endNode.nextSibling); this._startNode = start; this._endNode = end; var id = '_z_nodomfs0'; var f = jq('#' + id); if (f.length == 0) { var fd = document.createElement('div'); fd.id = id; document.body.appendChild(fd); f = jq('#' + id); } node.id = this.uuid + '-fake'; f.append(node); } context.stop = true; } } });//zk.override });//zk.afterLoad