sweet-js / sweet-core

Sweeten your JavaScript.
https://www.sweetjs.org
BSD 2-Clause "Simplified" License
4.58k stars 208 forks source link

Expose helpers in the editor #671

Closed disnet closed 7 years ago

disnet commented 7 years ago

This just uses require.js to load the helpers module as text and then stick the string in the loader store.

A more correct solution is to actually implement a browser loader that uses window.fetch but we first need to make Sweet play nice with an async loader.

I'm also including with this PR a commit to hide the editor controls we don't currently use.

disnet commented 7 years ago

Yep, the editor should be extracted to its own repo. After the release :)