]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Enhance plugin notification system
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Fri, 10 Jun 2016 20:26:55 +0000 (22:26 +0200)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Fri, 10 Jun 2016 20:26:55 +0000 (22:26 +0200)
commita55c17d73fa7bfa9e2780fce3ea9a7770a11d8d3
tree3bd51474d672e4fd4446020433ae7c112dd7d8aa
parent7a419af4c2a9a4190fbe2ef550e20d38505cd648
Enhance plugin notification system

Change the plugin notification behavior: this method now returns false as soon as a plugin *explicitly* returns false, else returns true. Also, plugins are now called in their own scope (so remove the never used `scope` parameter).
src/core/core.plugin.js
test/core.plugin.tests.js