projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a57377
)
examples/view/domtemplate.html
author
Alan Knowles
<alan@akbkhome.com>
Tue, 10 Apr 2012 10:42:36 +0000
(18:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 10 Apr 2012 10:42:36 +0000
(18:42 +0800)
examples/view/domtemplate.html
patch
|
blob
|
history
diff --git
a/examples/view/domtemplate.html
b/examples/view/domtemplate.html
index
fd96901
..
0650afd
100644
(file)
--- a/
examples/view/domtemplate.html
+++ b/
examples/view/domtemplate.html
@@
-12,8
+12,11
@@
Roo.onReady(function() {
+ var html = Roo.get('body').dom.innerHTML;
+ Roo.get('body').dom.innerHTML = '';
+
var tpl = new Roo.DomTemplate({
- html :
Roo.get('body').dom.innerHTML
+ html :
html
});
tpl.append(Roo.get('body'),{