Merge pull request #2286 from awiddersheim/fix/parenthesis_typo

Fix 'paranthesis' typo to 'parenthesis'
This commit is contained in:
Torkel Ödegaard
2015-07-06 09:03:52 +02:00
3 changed files with 5 additions and 5 deletions

View File

@@ -142,13 +142,13 @@ define([
name: this.consumeToken().value,
};
// consume left paranthesis
// consume left parenthesis
this.consumeToken();
node.params = this.functionParameters();
if (!this.match(')')) {
this.errorMark('Expected closing paranthesis');
this.errorMark('Expected closing parenthesis');
}
this.consumeToken();