From 858d9009bfb821e033a38e0b3c57642d82500fe6 Mon Sep 17 00:00:00 2001 From: vagusX Date: Thu, 20 Aug 2020 20:02:42 +0800 Subject: [PATCH] fix: typos --- scripts/loaders/loader-es.js | 4 ++-- scripts/loaders/loader.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/loaders/loader-es.js b/scripts/loaders/loader-es.js index e9cc925..f94282c 100644 --- a/scripts/loaders/loader-es.js +++ b/scripts/loaders/loader-es.js @@ -1,12 +1,12 @@ export default (registerLanguage, registerGrammar) => ( languages = [], - grammers = [] + grammars = [] ) => { for (const language of languages) { registerLanguage(language) } - for (const grammar of grammers) { + for (const grammar of grammars) { registerGrammar(grammar) } } diff --git a/scripts/loaders/loader.js b/scripts/loaders/loader.js index ed39605..c359390 100644 --- a/scripts/loaders/loader.js +++ b/scripts/loaders/loader.js @@ -1,12 +1,12 @@ module.exports = (registerLanguage, registerGrammar) => ( languages = [], - grammers = [] + grammars = [] ) => { for (const language of languages) { registerLanguage(language) } - for (const grammar of grammers) { + for (const grammar of grammars) { registerGrammar(grammar) } }