mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
Block a user