From 07890d9620a37bbfb0a5920c2af15317542b8bf1 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 3 Dec 2019 14:52:04 -0800 Subject: [PATCH] Fix typo (#6805) --- src/scales/scale.category.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2