pebble / pebblejs

Program the Pebble with simply JavaScript
MIT License
455 stars 229 forks source link

Pebble.js + Rocky.js = Develop in Browser #178

Open jscottnz opened 8 years ago

jscottnz commented 8 years ago

This is a POC that enables development of pebble.js apps in a web browser - super fast development turnaround. (And maybe rocky.js compatibility with pebble allows it!)

It is intended to have minimal to no special code ( there is a little at the moment - see markDirty )

This is simply a gulp project that browserifies the source code so that its compatible with the web browser.

It then replaces simply-pebble.js with simply-rocky.js

The implementation uses rocky.js to render to the html canvas. The pebble.js stage is replaced with an array of render functions.

Please note that only a small set of components are implemented to the bare minimum