discourse/lib/javascripts
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
..
locale FIX: use 'other' instead of 'many' for Ukrainian pluralization until translations are fixed 2016-12-30 11:49:25 -05:00
moment_locale Update moment locales as well. 2017-04-20 12:24:20 +08:00
messageformat-lookup.js FIX: Allow message format translations to be overridden 2016-04-08 14:49:50 -04:00
messageformat.js Add message format support that can be used on complex localization strings 2013-05-30 16:49:57 +10:00
moment.js Upgrade momentjs. 2017-04-19 22:04:35 +08:00
widget-hbs-compiler.js.es6 FEATURE: Use Glimmer compiler for widget templates 2017-09-01 09:28:16 -04:00