Tim Bond
SeattleJS - May 11, 2017
100%
Chakra
J2V8
JavaScriptCore
let button = new tabris.Button({
top: 16, centerX: 0,
text: 'Show message'
}).appendTo(tabris.ui.contentView);
let textView = new tabris.TextView({
top: [button, 16], centerX: 0
}).appendTo(tabris.ui.contentView);
button.on('select', () => {
textView.text = 'Powered by Tabris.js';
});
No SDKs, no special editors
npm install -g tabris-cli
tabris init
tabris serve
Updating JavaScript? Just hit Reload
adb install
tabris.app.installPatch(patchZipUrl, (error, patch) => {
if (error) {
// TODO: show error dialog
} else {
// TODO: show confirmation dialog
tabris.app.reload();
}
});
Patching is allowed for "scripts and code downloaded and run by Apple’s built-in WebKit framework or JavascriptCore, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose"
tabrisjs
Slack channel