]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Explicit global definition 75/head
authorEsa-Matti Suuronen <esa-matti@suuronen.org>
Sat, 13 Apr 2013 08:55:36 +0000 (11:55 +0300)
committerEsa-Matti Suuronen <esa-matti@suuronen.org>
Sat, 13 Apr 2013 08:55:36 +0000 (11:55 +0300)
commit624fbfd474ae3a2d1ceb29fe041f9045a8ccbcb3
tree039234a9f70289ce8463c0b213925f5e50731271
parent4a94b44a77d64a7431b39d2c3c980ab28bf7b1db
Explicit global definition

Some script bundlers such as Browserify compile a wrapper function over the modules. If var-statement is used to define the global it will be hidden inside it. Use window-global to define Chart global explicitly.
Chart.js