/ember-twiddle

JSFiddle type thing for ember-cli style code

Primary LanguageJavaScriptMIT LicenseMIT

Build Status Code Climate

An ember cli like web based javascript sharing tool. http://ember-twiddle.com

  • Ember Twiddle uses Github Gists as persistence layer. Once you hit Save on a newly created Twiddle, it will create a public Gist under your Github account.
  • If you'd like to help out, check out CONTRIBUTING.md We are looking for help maintaining the project. If you have contributed and would like to be made a maintainer, please make a request on the Discord channel or via email.
  • Ember Twiddle uses a backend for compiling addons. It is currently located at https://github.com/joostdevries/twiddle-backend

Browser support

To make using Ember Twiddle secure, we use the sandbox and srcdoc attributes of the <iframe> element. Especially srcdoc is not supported by any version of IE at the moment and older versions of other browsers also lack support for sandbox. Furthermore, the sandbox prohibits the use of cookies, localStorage, IndexedDB, Web Workers, etc.

We are planning to move to a secure solution with better compatibility soon (most likely one where the twiddle is run on a different domain).

Ember support

The latest working version of Ember in Ember Twiddle is 3.4. Feel free to open a PR to extend the supported versions.

Feedback

You can use the issue tracker to provide feedback, suggest features or report bugs. Before you open an issue though, make sure you check canary.ember-twiddle.com to see whether it's not already fixed on master. Of course, you should also check whether an issue doesn't exist already (if it does, use the comments to provide additional input).

Contributing

See CONTRIBUTING.md

Security-related issues

If you run into a security-related issue, please do not open an issue for it but instead email security@emberjs.com (preferably with a twiddle demonstrating the issue).