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:
14d0855
)
src/JsRender/PlainFile.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 11 Nov 2015 09:55:31 +0000
(17:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 11 Nov 2015 09:55:31 +0000
(17:55 +0800)
src/JsRender/PlainFile.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/PlainFile.vala
b/src/JsRender/PlainFile.vala
index
94f86f1
..
1d139ce
100644
(file)
--- a/
src/JsRender/PlainFile.vala
+++ b/
src/JsRender/PlainFile.vala
@@
-32,12
+32,12
@@
namespace JsRender {
this.content_type = ct;
} else {
this.content_type = "text/plain"; // hopefully..
-
var ar = path.split(".");
-
var ext = ar[ar.length -1]; // hopefully not fail...
+
//
var ar = path.split(".");
+
//
var ext = ar[ar.length -1]; // hopefully not fail...
-
switch(ext) {
-
case "vala";
-
+
//
switch(ext) {
+
//
case "vala";
+ this.loaded = true;
}