REPL for Titanium.
- Full access to Titanium API
- Command history (↑,↓)
- Multi-line statements
- Color-coded return values, by type
- Much more coming (see enhancements)
$ npm install -g triple
$ triple
[creating app]
[loading app]
> alert('hello, world!');
The following is the only configuration for which this has been tested so far:
- Mac OSX 10.9.4
- iOS 7.1 + simulator
- Titanium SDK 3.2.3+
Support for all of Appcelerator's supported platforms is planned. Windows OS support is planned as well.
Trying to inspect this.Kroll
on iOS will cause a fatal error. This is due to the fact that this.Kroll
is not a genuine Javascript object. It will be skipped if your inspect this
, and it will crash the app if you try to inspect it directly.