mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 08:51:05 +08:00
Remove Ember 1.x specific code
This commit is contained in:
@ -6,7 +6,7 @@ moduleForWidget('post-stream');
|
||||
|
||||
function postStreamTest(name, attrs) {
|
||||
widgetTest(name, {
|
||||
template: `{{mount-widget widget="post-stream" args=(as-hash posts=posts)}}`,
|
||||
template: `{{mount-widget widget="post-stream" args=(hash posts=posts)}}`,
|
||||
setup() {
|
||||
this.set('posts', attrs.posts.call(this));
|
||||
},
|
||||
|
Reference in New Issue
Block a user