Tern Lint Demo // a Property that is unknown: anInvalidOption chrome.app.window.create('index.html', {anInvalidOption: 'foo'}); // a Property that does not type check, (hidden should be a bool) chrome.app.window.create('index.html', {hidden: 'foo'}); // a Property that is of the correct type => OK chrome.app.window.create('index.html', {id: 'fooID'}); // multiple Properties of the correct type => OK chrome.app.window.create('index.html', {id: 'fooID',hidden: true}); // one bad one mixed in chrome.app.window.create('index.html', {id: 'fooID', oho: 34, hidden: true}); Demonstrates integration of Tern and CodeMirror. The following keys are bound: Ctrl-SpaceAutocomplete Ctrl-IFind type at cursor Alt-.Jump to definition (Alt-, to jump back) Ctrl-QRename variable Documentation is sparse for now. See the top of the script for a rough API overview.