Merge pull request #4464 from xfalcox/patch-2

Make deprecated.js ES5 compatible
This commit is contained in:
Régis Hanol 2016-09-28 11:17:33 +02:00 committed by GitHub
commit 064a83c44c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
var Discourse = require('discourse').default; var Discourse = require('discourse').default;
function deprecate(module, methods) { function deprecate(module, methods) {
const result = {}; var result = {};
methods.forEach(function(m) { methods.forEach(function(m) {
result[m] = function() { result[m] = function() {