Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX committed Aug 20, 2020
1 parent 68c463f commit 858d900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/loaders/loader-es.js
Original file line number Diff line number Diff line change
@@ -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)
}
}
4 changes: 2 additions & 2 deletions scripts/loaders/loader.js
Original file line number Diff line number Diff line change
@@ -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)
}
}

0 comments on commit 858d900

Please sign in to comment.