FIX: .js files can't use ES6 syntax
This commit is contained in:
parent
cb8abd09a9
commit
54445f21c1
|
@ -67,7 +67,7 @@ Discourse.Ajax = Em.Mixin.create({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.returnXHR) {
|
if (args.returnXHR) {
|
||||||
data = { result: data, xhr };
|
data = { result: data, xhr: xhr };
|
||||||
}
|
}
|
||||||
|
|
||||||
Ember.run(null, resolve, data);
|
Ember.run(null, resolve, data);
|
||||||
|
|
Loading…
Reference in New Issue