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:
d8ccfdf
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 8 Apr 2012 06:50:22 +0000
(14:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 8 Apr 2012 06:50:22 +0000
(14:50 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
2de6c95
..
7d4bece
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-21,12
+21,12
@@
Builder = {
this.scriptTag = false;
}
- this.scriptTag = document.body.appendChild(document.
body.
createElement('script'));
+ this.scriptTag = document.body.appendChild(document.createElement('script'));
this.scriptTag.setAttribute('language','text/javascript');
this.id++;
this.scriptTag.appendChild(
- document.
body.createCDATA
(
+ document.
createCDATASection
(
'Builder._src_' + this.id + ' = ' + JSON.stringify(data)
));