Skip to content

Commit

Permalink
Add demo for #32
Browse files Browse the repository at this point in the history
  • Loading branch information
angelozerr committed Jun 20, 2015
1 parent 5d8b949 commit a3ca348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/Issue32.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h2>Tern Lint Demo</h2>
//var server;
//getURL("http://ternjs.net/defs/ecma5.json", function(err, code) {
// if (err) throw new Error("Request for ecma5.json: " + err);
var server = new CodeMirror.TernServer({defs: defs, plugins:{"lint":{}, "doc_comment": {}}});
var server = new CodeMirror.TernServer({defs: defs, plugins:{"lint":{}, "doc_comment": {"strong": true}}});
editor.setOption("extraKeys", {
"Ctrl-Space": function(cm) { server.complete(cm); },
"Ctrl-I": function(cm) { server.showType(cm); },
Expand Down

0 comments on commit a3ca348

Please sign in to comment.