diff options
Diffstat (limited to 'js/stage/stage-view.reel')
-rwxr-xr-x | js/stage/stage-view.reel/stage-view.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js index 53c6125b..dcc84a35 100755 --- a/js/stage/stage-view.reel/stage-view.js +++ b/js/stage/stage-view.reel/stage-view.js | |||
@@ -88,6 +88,27 @@ exports.StageView = Montage.create(Component, { | |||
88 | case "js" : | 88 | case "js" : |
89 | type = "javascript"; | 89 | type = "javascript"; |
90 | break; | 90 | break; |
91 | case "html" : | ||
92 | type = "htmlmixed"; | ||
93 | break; | ||
94 | case "json" : | ||
95 | type = "javascript"; | ||
96 | break; | ||
97 | case "php" : | ||
98 | type = "php"; | ||
99 | break; | ||
100 | case "pl" : | ||
101 | type = "perl"; | ||
102 | break; | ||
103 | case "py" : | ||
104 | type = "python"; | ||
105 | break; | ||
106 | case "rb" : | ||
107 | type = "ruby"; | ||
108 | break; | ||
109 | case "xml" : | ||
110 | type = "xml"; | ||
111 | break; | ||
91 | } | 112 | } |
92 | document.getElementById("codeMirror_"+doc.uuid).style.display="block"; | 113 | document.getElementById("codeMirror_"+doc.uuid).style.display="block"; |
93 | 114 | ||