diff --git a/tasks/build-ext.js b/tasks/build-ext.js index 00472e4336..b9ac9c4a62 100644 --- a/tasks/build-ext.js +++ b/tasks/build-ext.js @@ -38,7 +38,7 @@ function wrapModule(mod, callback) { } var wrapped = 'goog.provide(\'ol.ext.' + mod.name + '\');\n' + '/** @typedef {function(*)} */\n' + - 'ol.ext.' + mod.name + ' = function() {};\n' + + 'ol.ext.' + mod.name + ';\n' + '(function() {\n' + 'var module = {};\n' + '/**\n' +