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