Skip to content

Commit 9158bbf

Browse files
committed
Merge pull request #2633 from ajaxorg/tiny-fixes
[General] Tiny fixes
2 parents 7723557 + 873fff0 commit 9158bbf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

plugins-client/cloud9.core/www/core/util.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ var SupportedIcons = {
155155
"text/cpp": "page_white_cplusplus",
156156
"text/x-c": "page_white_c",
157157
"text/x-csharp": "page_white_csharp",
158-
"text/text/x-java-source": "page_white_cup",
158+
"text/x-java-source": "page_white_cup",
159159
"text/x-markdown": "page_white_text",
160160
"text/x-xquery": "page_white_code"
161161
};
@@ -185,6 +185,7 @@ var contentTypes = {
185185
"xhtml": "application/xhtml+xml",
186186
"coffee": "text/x-script.coffeescript",
187187
"py": "text/x-script.python",
188+
"java": "text/x-java-source",
188189

189190
"ru": "text/x-script.ruby",
190191
"gemspec": "text/x-script.ruby",

plugins-client/ext.noderunner/noderunner.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ module.exports = ext.register("ext/noderunner/noderunner", {
2424
offline : false,
2525
autodisable : ext.ONLINE | ext.LOCAL,
2626
markup : markup,
27-
runners : window.cloud9config.runners.filter(function(runner) {
28-
return runner != "other";
29-
}),
27+
runners : window.cloud9config.runners,
3028

3129
NODE_VERSION: "auto",
3230

0 commit comments

Comments
 (0)