From: Kirushanth Sakthivetpillai Date: Tue, 5 Jan 2016 16:19:48 +0000 (-0500) Subject: Update gulpfile.js X-Git-Tag: v2.0.0~79^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1850%2Fhead;p=thirdparty%2FChart.js.git Update gulpfile.js root can be either window, globals but without this, JS will not lookup in globals object --- diff --git a/gulpfile.js b/gulpfile.js index 04a645394..7c461f4f1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -86,7 +86,7 @@ function buildTask() { " }\n"+ "}(this || window, function(<%= param %>) {\n"+ "<%= contents %>\n"+ - "return <%= exports %>;\n"+ + "return this.<%= exports %>;\n"+ "}));\n", dependencies: function() { return ['moment']