discourse/lib/es6_module_transpiler
Robin Ward dffb1fc4ee FEATURE: Use Glimmer compiler for widget templates
Widgets can now specify a template which is precompiled using Glimmer's
AST and then converted into our virtual dom code.

Example:

```javascript
createWidget('post-link-arrow', {
  template: hbs`
    {{#if attrs.above}}
      <a class="post-info arrow" title={{i18n "topic.jump_reply_up"}}>
        {{fa-icon "arrow-up"}}
      </a>
    {{else}}
      <a class="post-info arrow" title={{i18n "topic.jump_reply_down"}}>
        {{fa-icon "arrow-down"}}
      </a>
    {{/if}}
  `,

  click() {
    DiscourseURL.routeTo(this.attrs.shareUrl);
  }
});
```
2017-09-01 09:28:16 -04:00
..
rails Transpile ES6 even without node, just using rubyracer 2014-05-08 11:35:33 -04:00
tilt FEATURE: Use Glimmer compiler for widget templates 2017-09-01 09:28:16 -04:00
rails.rb Plugins: Prefix `discourse/plugins/PLUGINNAME` for plugin export names. 2014-05-15 16:31:45 -04:00
sprockets.rb FEATURE: upgrade sprockets to latest stable 2017-04-17 10:12:05 -04:00
tilt.rb Transpile ES6 even without node, just using rubyracer 2014-05-08 11:35:33 -04:00