mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Merge pull request #1842 from nnnick/v2.0-fix-browserify-webpack-support
Offer window alternative to `this` context. Fixes Webspack and Browserify support
This commit is contained in:
commit
f7c6ca544b
12
Chart.min.js
vendored
12
Chart.min.js
vendored
File diff suppressed because one or more lines are too long
@ -84,7 +84,7 @@ function buildTask() {
|
||||
" } else {\n"+
|
||||
" root.<%= namespace %> = factory.call(root,<%= global %>);\n"+
|
||||
" }\n"+
|
||||
"}(this, function(<%= param %>) {\n"+
|
||||
"}(this || window, function(<%= param %>) {\n"+
|
||||
"<%= contents %>\n"+
|
||||
"return <%= exports %>;\n"+
|
||||
"}));\n",
|
||||
|
Loading…
Reference in New Issue
Block a user