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:
0516414
)
src/JsRender/Node.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 22 Apr 2015 08:29:58 +0000
(16:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 22 Apr 2015 08:29:58 +0000
(16:29 +0800)
src/JsRender/Node.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/Node.vala
b/src/JsRender/Node.vala
index
869aab0
..
dd88445
100644
(file)
--- a/
src/JsRender/Node.vala
+++ b/
src/JsRender/Node.vala
@@
-490,7
+490,7
@@
public class JsRender.Node : Object {
continue;
}
if ( i[0] != '|') {
continue;
}
if ( i[0] != '|') {
- props += "\n<b>" +
+ props += "\n
\t
<b>" +
GLib.Markup.escape_text(i) +"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);
GLib.Markup.escape_text(i) +"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);
@@
-502,13
+502,13
@@
public class JsRender.Node : Object {
//}
if (Regex.match_simple("^\\s*function", val)) {
//}
if (Regex.match_simple("^\\s*function", val)) {
- funcs += "\n<b>" +
+ funcs += "\n
\t
<b>" +
GLib.Markup.escape_text(i.substring(1)) +"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);
continue;
}
if (Regex.match_simple("^\\s*\\(", val)) {
GLib.Markup.escape_text(i.substring(1)) +"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);
continue;
}
if (Regex.match_simple("^\\s*\\(", val)) {
- funcs += "\n<b>" + GLib.Markup.escape_text(i.substring(1)) +
+ funcs += "\n
\t
<b>" + GLib.Markup.escape_text(i.substring(1)) +
"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);
continue;
"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);
continue;
@@
-517,12
+517,12
@@
public class JsRender.Node : Object {
}
iter = this.listeners.map_iterator();
while (iter.next()) {
}
iter = this.listeners.map_iterator();
while (iter.next()) {
- var i = iter.get_key();
- var val = iter.get_value();
+ var i = iter.get_key()
.strip()
;
+ var val = iter.get_value()
.strip()
;
if (val == null || val.length < 1) {
continue;
}
if (val == null || val.length < 1) {
continue;
}
- listen += "\n<b>" +
+ listen += "\n
\t
<b>" +
GLib.Markup.escape_text(i) +"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);
GLib.Markup.escape_text(i) +"</b> : " +
GLib.Markup.escape_text(val.split("\n")[0]);