-
Notifications
You must be signed in to change notification settings - Fork 52
Tern & Tabris support
angelozerr edited this page Nov 28, 2014
·
13 revisions
tern-tabris provides the tabris Tern plugin which gives a support for tabris.js - native apps in JavaScript.
After installing and converting your project as Tern Project (see Tern-Eclipse-IDE), open Project Properties, click on Tern / Modules item and select the travis.js tern plugin (EcmaScript5 tern plugin must be selected too) :
After that you can benefit with tabris.js - native apps in JavaScript completion :
The this
of function listener is recognized as tabris widget :
The widget get method waits a parameter name which returns a value. For instance
- get('text') returns a string :
- get('bounds') returns a bounds object :
You can validate your tabris code by using the tern plugin lint. After checking the lint plugin, you can see error :
- for invalid argument:
- or unknown property:
- Tern IDE
- Tern Toolings
-
Tern Modules
- AngularJS
- AlloyUI
- Browser
- Bootstrap
- CKEditor
- CordovaJS
- Dojo Toolkit
- ECMAScript
- ExtJS
- Game
- jQuery
- JSDoc Support
- Liferay
- Meteor
- Node.js
- Qooxdoo
- snabbt.js
- RequireJS
- Tabris.js
- three.js
- Titanium
- YUI Library
- Completion
- Linter (Validator)
- Tests
- JavaScript Build
- New and Noteworthy