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:
20212bd
)
src/JsRender/NodeToJs.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 27 May 2016 07:37:11 +0000
(15:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 27 May 2016 07:37:11 +0000
(15:37 +0800)
src/JsRender/NodeToJs.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToJs.vala
b/src/JsRender/NodeToJs.vala
index
92d0374
..
f3a0a0d
100644
(file)
--- a/
src/JsRender/NodeToJs.vala
+++ b/
src/JsRender/NodeToJs.vala
@@
-290,7
+290,7
@@
public class JsRender.NodeToJs : Object {
/**
* add a line - note we will end up with an extra line break
* at beginning of nodes doing this..
/**
* add a line - note we will end up with an extra line break
* at beginning of nodes doing this..
-
+ *
* @param str = text to add..
* @param line_end = 0 (just add a line break)
* line_end = ',' and ","
* @param str = text to add..
* @param line_end = 0 (just add a line break)
* line_end = ',' and ","
@@
-300,7
+300,7
@@
public class JsRender.NodeToJs : Object {
{
this.ret += (this.line_end == 0 ? "" : this.last_line_end) + "\n";
this.cur_line ++;
{
this.ret += (this.line_end == 0 ? "" : this.last_line_end) + "\n";
this.cur_line ++;
- this.ret += str
+ "\n"
;
+ this.ret += str
;
//this.ret += "/*%d(%d-%d)*/ ".printf(this.cur_line -1, this.node.line_start,this.node.line_end) + str + "\n";
//this.ret += "/*%d(%d-%d)*/ ".printf(this.cur_line -1, this.node.line_start,this.node.line_end) + str + "\n";