Make ES5 compatible
This commit is contained in:
parent
d69cf820d8
commit
c759b5f955
|
@ -2,7 +2,7 @@
|
|||
var Discourse = require('discourse').default;
|
||||
|
||||
function deprecate(module, methods) {
|
||||
const result = {};
|
||||
var result = {};
|
||||
|
||||
methods.forEach(function(m) {
|
||||
result[m] = function() {
|
||||
|
|
Loading…
Reference in New Issue