Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit e2c0e8e

Browse files
committed
Re-enable JS Code Hints extension for in-browser, and add demo JS file to
dummy filesystem so it's easy to see it in action.
1 parent c202b03 commit e2c0e8e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/filesystem/impls/demo/DemoFileSystem.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ define(function (require, exports, module) {
4646
// - object = nested folder containing more entries
4747
var demoContent = {
4848
"index.html": "<html>\n<head>\n <title>Hello, world!</title>\n</head>\n<body>\n Welcome to Brackets!\n</body>\n</html>",
49-
"main.css": ".hello {\n content: 'world!';\n}"
49+
"main.css": ".hello {\n content: 'world!';\n}",
50+
"main.js": "function sayHello() {\n console.log('Hello, world!');\n}"
5051
};
5152

5253

src/utils/ExtensionLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ define(function (require, exports, module) {
404404
"HtmlEntityCodeHints",
405405
"InlineColorEditor",
406406
"InlineTimingFunctionEditor",
407-
//"JavaScriptCodeHints",
407+
"JavaScriptCodeHints",
408408
"JavaScriptQuickEdit",
409409
"JSLint",
410410
"LESSSupport",

0 commit comments

Comments
 (0)