File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Naming Conventions
9898 noun that describes what information is contained in the variable. If a ``bool ``,
9999 preface with ``is_ `` or ``has_ `` or similar question-word that can be answered
100100 with a yes-or-no.
101- * ``function_name `` and not ``function_name `` or ``functionName ``. Should be an
101+ * ``function_name `` and not ``functionName `` or ``FunctionName ``. Should be an
102102 imperative that describes what the function does (e.g. ``get_next_page ``).
103103* ``CONSTANT_NAME `` and not ``constant_name `` or ``ConstantName ``.
104104* ``ClassName `` and not ``class_name `` or ``Class_Name ``.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments