mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add ES6 support to more files
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import debounce from 'discourse/lib/debounce';
|
||||
|
||||
export default Ember.ArrayController.extend({
|
||||
loading: false,
|
||||
filter: null,
|
||||
|
||||
show: Discourse.debounce(function() {
|
||||
show: debounce(function() {
|
||||
var self = this;
|
||||
self.set('loading', true);
|
||||
Discourse.Permalink.findAll(self.get("filter")).then(function(result) {
|
||||
|
||||
Reference in New Issue
Block a user