diff --git a/grunt/tasks/browserify.js b/grunt/tasks/browserify.js index d43c0841f8..c83ed7e65c 100644 --- a/grunt/tasks/browserify.js +++ b/grunt/tasks/browserify.js @@ -46,7 +46,7 @@ module.exports = function() { }; // TODO: make sure this works, test with this too - config.transforms.forEach(bundle.transform, this); + config.transforms.forEach(bundle.transform, bundle); // Actually bundle it up var _this = this;