projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b227408
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 8 Apr 2012 06:45:02 +0000
(14:45 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 8 Apr 2012 06:45:02 +0000
(14:45 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
48b94b2
..
10bf153
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-8,10
+8,20
@@
var _this = MODULE;
// the apprenderer.
Builder = {
+ scriptTag : false,
+
render : function(data)
{
// for debugging
//console.log(data); return;
+ if (!scriptTag) {
+
+ this.scriptTag = document.body.appendChild(document.body.createChild('script'));
+ this.scriptTag.setAttribute('language','text/javascript');
+
+
+ }
+
this.tree = data;