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:
3841273
)
JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 4 Sep 2014 06:14:57 +0000
(14:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 4 Sep 2014 06:14:57 +0000
(14:14 +0800)
JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/JsRender/NodeToVala.vala
b/JsRender/NodeToVala.vala
index
dd42ae4
..
32036e3
100644
(file)
--- a/
JsRender/NodeToVala.vala
+++ b/
JsRender/NodeToVala.vala
@@
-501,9
+501,10
@@
public class JsRender.NodeToVala : Object {
this.ignore(p);
var v = this.node.get(p);
-
+ var is_raw = this.node.props.has_key("$ " + p);
+
// what's the type.. - if it's a string.. then we quote it..
- if (iter.get_value().type == "utf8" && !
this.node.props.has_key("$ " + p)
) {
+ if (iter.get_value().type == "utf8" && !
is_raw
) {
v = "\"" + v.escape("") + "\"";
}
if (v == "TRUE" || v == "FALSE") {