]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
[performance] replace helpers.each calls with for-loops (#6301)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Sat, 22 Jun 2019 13:55:46 +0000 (06:55 -0700)
committerEvert Timberg <evert.timberg@gmail.com>
Sat, 22 Jun 2019 13:55:46 +0000 (09:55 -0400)
commit07109b674b7675d3b3158bf6166f08e16a2c8218
tree0785d560845b1f18fca434ee2f5c7bf9f4a66db6
parentdb6a6d5989cb33dda38c3ecbe2ce0b4b19b3d013
[performance] replace helpers.each calls with for-loops (#6301)

* [performance] replace helpers.each calls with for-loops

* Use Math.min/max instead of if statement

* Rename variable
src/core/core.helpers.js
src/scales/scale.linear.js
src/scales/scale.logarithmic.js
test/specs/core.ticks.tests.js
test/specs/scale.linear.tests.js