mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Offer window alternative to this context. Fixes Webspack and Browserify support
This commit is contained in:
parent
824f5880fb
commit
ac9fe08068
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…
x
Reference in New Issue
Block a user