File tree 7 files changed +10
-10
lines changed
7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 39
39
40
40
This implements title \" Function Declarations and Definitions\"
41
41
of the Google C++ Style Guide for the case where the previous
42
- line ends with an open parenthese .
42
+ line ends with an open parenthesis .
43
43
44
44
\" Current C expression\" , as per the Google Style Guide and as
45
45
clarified by subsequent discussions, means the whole expression
Original file line number Diff line number Diff line change 3072
3072
/**
3073
3073
* Whether to cancel the event in internal capture/bubble processing.
3074
3074
* @public {boolean}
3075
- * @suppress {visiblity } Referencing this outside this package is strongly
3075
+ * @suppress {visibility } Referencing this outside this package is strongly
3076
3076
* discouraged.
3077
3077
*/
3078
3078
goog.events.Event.prototype.propagationStopped_ = false;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ <h4 id="non-ascii-characters">2.3.3 Non-ASCII characters</h4>
92
92
< pre > < code class ="language-js prettyprint "> /* Best: perfectly clear even without a comment. */
93
93
const units = 'μs';
94
94
95
- /* Allowed: but unncessary as μ is a printable character. */
95
+ /* Allowed: but unnecessary as μ is a printable character. */
96
96
const units = '\u03bcs'; // 'μs'
97
97
98
98
/* Good: use escapes for non-printable characters with a comment for clarity. */
Original file line number Diff line number Diff line change @@ -805,8 +805,8 @@ Robert Brown
805
805
<p >
806
806
You should strive to keep top-level forms,
807
807
including comments but excluding the documentation string, of
808
- appropriate length; preferrably short. Forms extending beyond a
809
- single page should be rare and their use should be justfied .
808
+ appropriate length; preferably short. Forms extending beyond a
809
+ single page should be rare and their use should be justified .
810
810
This applies to each of the forms in an <code >eval-when</code >,
811
811
rather than to the <code >eval-when</code > itself.
812
812
Additionally, <code >defpackage</code > forms may be longer,
@@ -3116,7 +3116,7 @@ Robert Brown
3116
3116
You must not use exact comparison on floating point numbers,
3117
3117
since the vague nature of floating point arithmetic
3118
3118
can produce little "errors" in numeric value.
3119
- You should compare absolute values to a threshhold .
3119
+ You should compare absolute values to a threshold .
3120
3120
</p >
3121
3121
<p >
3122
3122
You must use <code >=</code > to compare numbers,
Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions">
687
687
- c: the indentation of the current python block, in other words, the
688
688
indentation of the first line of this block, which is the
689
689
indentation of the last line we saw that ended with a colon.
690
- - d: the "total" indentation of the line, ignorng possible "Yes:" or
690
+ - d: the "total" indentation of the line, ignoring possible "Yes:" or
691
691
"No:" text on the line.
692
692
693
693
For example, for the last line of the following code snippet, the
Original file line number Diff line number Diff line change 107
107
<code >> =#</code > must be used for strings.
108
108
</li >
109
109
<li >
110
- The behavior of <code >=~</code > and friends is dependant upon the
110
+ The behavior of <code >=~</code > and friends is dependent upon the
111
111
<code >ignorecase</code > setting.
112
112
</li >
113
113
<li >
232
232
Loud scripts are annoying.
233
233
</li >
234
234
<li >
235
- Message the user when an error has occured .
235
+ Message the user when an error has occurred .
236
236
</li >
237
237
<li >
238
238
Message the user when an operation which takes a long time has
Original file line number Diff line number Diff line change 110
110
<STYLEPOINT title =" Catching Exceptions" >
111
111
<SUMMARY >Match error codes, not error text.</SUMMARY >
112
112
<BODY >
113
- <p >Error text may be locale dependant .</p >
113
+ <p >Error text may be locale dependent .</p >
114
114
</BODY >
115
115
</STYLEPOINT >
116
116
</CATEGORY >
You can’t perform that action at this time.
0 commit comments