Skip to content

Commit 1577cef

Browse files
Fix typos in metaclasses.py
JavaScriot -> JavaScript
1 parent dafdd03 commit 1577cef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

highcharts_core/metaclasses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ def from_js_literal(cls,
704704
return cls.from_js_literal(prefixed_str,
705705
_break_loop_on_failure = True)
706706
elif not checkers.is_type(body, 'VariableDeclaration'):
707-
raise errors.HighchartsVariableDeclarationError('To parse a JavaScriot '
707+
raise errors.HighchartsVariableDeclarationError('To parse a JavaScript '
708708
'object literal, it is '
709709
'expected to be either a '
710710
'variable declaration or a'
@@ -1338,7 +1338,7 @@ def from_js_literal(cls,
13381338
return cls.from_js_literal(prefixed_str,
13391339
_break_loop_on_failure = True)
13401340
elif not checkers.is_type(body, 'VariableDeclaration'):
1341-
raise errors.HighchartsVariableDeclarationError('To parse a JavaScriot '
1341+
raise errors.HighchartsVariableDeclarationError('To parse a JavaScript '
13421342
'object literal, it is '
13431343
'expected to be either a '
13441344
'variable declaration or a'

0 commit comments

Comments
 (0)