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
98
98
noun that describes what information is contained in the variable. If a ``bool ``,
99
99
preface with ``is_ `` or ``has_ `` or similar question-word that can be answered
100
100
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
102
102
imperative that describes what the function does (e.g. ``get_next_page ``).
103
103
* ``CONSTANT_NAME `` and not ``constant_name `` or ``ConstantName ``.
104
104
* ``ClassName `` and not ``class_name `` or ``Class_Name ``.
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ Glossary
241
241
242
242
JavaScript Object Literal Notation *is * JavaScript source code. JSON is not. JSON is
243
243
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
245
245
notation to support the definition of :term: `event handlers <event handler> ` and
246
246
:term: `callback functions <callback function> `, **Highcharts for Python ** is designed
247
247
to serialize and deserialize Python representations to/from their JavaScript object
@@ -254,7 +254,7 @@ Glossary
254
254
:widths: 50 50
255
255
:header-rows: 1
256
256
257
- * - JavaScriot Object Literal Notation
257
+ * - JavaScript Object Literal Notation
258
258
- JSON
259
259
* - |
260
260
.. code-block :: JavaScript
Original file line number Diff line number Diff line change @@ -716,7 +716,7 @@ def from_js_literal(cls,
716
716
return cls .from_js_literal (prefixed_str ,
717
717
_break_loop_on_failure = True )
718
718
elif not checkers .is_type (body , 'VariableDeclaration' ):
719
- raise errors .HighchartsVariableDeclarationError ('To parse a JavaScriot '
719
+ raise errors .HighchartsVariableDeclarationError ('To parse a JavaScript '
720
720
'object literal, it is '
721
721
'expected to be either a '
722
722
'variable declaration or a'
@@ -1350,7 +1350,7 @@ def from_js_literal(cls,
1350
1350
return cls .from_js_literal (prefixed_str ,
1351
1351
_break_loop_on_failure = True )
1352
1352
elif not checkers .is_type (body , 'VariableDeclaration' ):
1353
- raise errors .HighchartsVariableDeclarationError ('To parse a JavaScriot '
1353
+ raise errors .HighchartsVariableDeclarationError ('To parse a JavaScript '
1354
1354
'object literal, it is '
1355
1355
'expected to be either a '
1356
1356
'variable declaration or a'
You can’t perform that action at this time.
0 commit comments