Merge pull request #4464 from xfalcox/patch-2
Make deprecated.js ES5 compatible
This commit is contained in:
commit
064a83c44c
|
@ -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