Skip to content

Commit dd01a67

Browse files
authored
Merge branch 'develop' into patch-2
2 parents e3ac758 + 6fe701f commit dd01a67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/glossary.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Glossary
241241

242242
JavaScript Object Literal Notation *is* JavaScript source code. JSON is not. JSON is
243243
a way of encoding data into a text form that JavaScript is able to parse and
244-
deserialize. Because Highcharts JS relies heavily on JavaScriot object literal
244+
deserialize. Because Highcharts JS relies heavily on JavaScript object literal
245245
notation to support the definition of :term:`event handlers <event handler>` and
246246
:term:`callback functions <callback function>`, **Highcharts for Python** is designed
247247
to serialize and deserialize Python representations to/from their JavaScript object
@@ -254,7 +254,7 @@ Glossary
254254
:widths: 50 50
255255
:header-rows: 1
256256

257-
* - JavaScriot Object Literal Notation
257+
* - JavaScript Object Literal Notation
258258
- JSON
259259
* - |
260260
.. code-block:: JavaScript

highcharts_core/metaclasses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def from_js_literal(cls,
716716
return cls.from_js_literal(prefixed_str,
717717
_break_loop_on_failure = True)
718718
elif not checkers.is_type(body, 'VariableDeclaration'):
719-
raise errors.HighchartsVariableDeclarationError('To parse a JavaScriot '
719+
raise errors.HighchartsVariableDeclarationError('To parse a JavaScript '
720720
'object literal, it is '
721721
'expected to be either a '
722722
'variable declaration or a'
@@ -1350,7 +1350,7 @@ def from_js_literal(cls,
13501350
return cls.from_js_literal(prefixed_str,
13511351
_break_loop_on_failure = True)
13521352
elif not checkers.is_type(body, 'VariableDeclaration'):
1353-
raise errors.HighchartsVariableDeclarationError('To parse a JavaScriot '
1353+
raise errors.HighchartsVariableDeclarationError('To parse a JavaScript '
13541354
'object literal, it is '
13551355
'expected to be either a '
13561356
'variable declaration or a'

0 commit comments

Comments
 (0)