diff --git a/app/assets/javascripts/deprecated.js b/app/assets/javascripts/deprecated.js index 5f8a06d597c..ee6592848ae 100644 --- a/app/assets/javascripts/deprecated.js +++ b/app/assets/javascripts/deprecated.js @@ -2,7 +2,7 @@ var Discourse = require('discourse').default; function deprecate(module, methods) { - const result = {}; + var result = {}; methods.forEach(function(m) { result[m] = function() {