From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 3 Dec 2019 22:52:04 +0000 (-0800) Subject: Fix typo (#6805) X-Git-Tag: v3.0.0-alpha~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07890d9620a37bbfb0a5920c2af15317542b8bf1;p=thirdparty%2FChart.js.git Fix typo (#6805) --- diff --git a/src/scales/scale.category.js b/src/scales/scale.category.js index c11008b97..2a319c36f 100644 --- a/src/scales/scale.category.js +++ b/src/scales/scale.category.js @@ -6,7 +6,7 @@ const defaultConfig = { position: 'bottom' }; -class CategroyScale extends Scale { +class CategoryScale extends Scale { _parse(raw, index) { var labels = this._getLabels(); var first = labels.indexOf(raw); @@ -94,6 +94,6 @@ class CategroyScale extends Scale { } } -module.exports = CategroyScale; +module.exports = CategoryScale; // INTERNAL: static default options, registered in src/index.js module.exports._defaults = defaultConfig;