Skip to content

Commit

Permalink
Small tweaks to README.md
Browse files Browse the repository at this point in the history
Thank you so much for the reference to Titaniumifier! Very appreciated!

I tweaked it a little to make it clear that Titaniumifier must be used in Host-mode to enable Babel transpilation.

Also I added a small banner for the [discussion](TiForward/discuss#8) that’s going on Ti.Forward on the support for ES2015.

Again, thank you!
  • Loading branch information
yuchi committed Apr 19, 2015
1 parent bda0bad commit 4fc0f15
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This repo provides a simple [Babel](https://babeljs.io) plugin for Titanium apps.

- - -
:v: Do you want to see ES2015 (aka ES6) natively supported by Titanium?

:punch: **Then share your thoughts on [the relative Ti.Forward discussion](https://github.com/TiForward/discuss/issues/8)!**
- - -

## Setup
To get started in your own app:

Expand Down Expand Up @@ -54,7 +60,7 @@ If you run in to problems or babel isn't compiling your code over to the `Resour

This will show you any compile time errors that are occuring on Babel's side of things.

There are a few other efforts to add ES6 support in the Titanium community, most notably: https://github.com/smclab/titaniumifier . This repo is just an attempt to do a basic Babel compile of Titanium classic code.
There are a few other efforts to add ES6 support in the Titanium community, most notably [Titaniumifier](https://github.com/smclab/titaniumifier) in [Host-mode with Babel.js enabled](https://github.com/smclab/titaniumifier/wiki/Host-mode). This repo is just an attempt to do a basic Babel compile of Titanium classic code.

## Tweaking
If you want to tweak the babel plugin, open `plugins/babel/1.0.0/hooks/babel.js`. In here you can tweak where the code is placed, add more babel options during compilations, etc.

0 comments on commit 4fc0f15

Please sign in to comment.