]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Refactor controller scale methods
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Sat, 21 May 2016 20:53:58 +0000 (22:53 +0200)
committerEvert Timberg <evert.timberg+github@gmail.com>
Wed, 25 May 2016 22:39:42 +0000 (18:39 -0400)
commit07595d3271a3f8de69cd8a15789d99615e92e1c7
tree34ac6408b82272a4eb361ec3d299651e545f6290
parent381aeaa19f1233865ffd4bb33fe8b98ae3a13cbc
Refactor controller scale methods

Rewrite these two methods to reduce code duplication. Note that options.scale is not anymore mapped to 'radialScale' ID but to 'scale' ID (see ensureScalesHaveIDs), since this ID is not referenced anywhere in the code base.
src/core/core.controller.js