discourse/test/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
..
acceptance Migrate away from #discourse-modal to .d-modal 2017-08-30 15:29:51 -04:00
admin Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
components FIX: Test was failing on high DPI monitor 2017-08-30 15:32:58 -04:00
controllers UX: Convert buttons to d-button 2017-08-01 17:24:06 -04:00
ember Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
fixtures FIX: store:main error when running QUnit tests checking disabled plugins 2017-08-23 19:34:31 -04:00
helpers FIX: tests helper do not use es6 2017-08-29 16:16:51 +02:00
initializers Upgrade to Babel 6 2017-07-05 15:25:23 -04:00
lib Make eslint happy. 2017-08-21 21:56:22 +09:00
mixins Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
models Fix linting. 2017-08-30 15:36:45 +08:00
widgets FEATURE: Use Glimmer compiler for widget templates 2017-09-01 09:28:16 -04:00
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js Qunit plugin rake tasks (#4985) 2017-07-26 09:07:46 -04:00