Skip to content

Commit 0a02516

Browse files
committed
Fix typos in comments.
1 parent d27ee2b commit 0a02516

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/css/Parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2134,7 +2134,7 @@ Parser.prototype = function(){
21342134
* or
21352135
* S* '{' S* [ declaration | margin ]? [ ';' S* [ declaration | margin ]? ]* '}' S*
21362136
* Note that this is how it is described in CSS3 Paged Media, but is actually incorrect.
2137-
* A semicolon is only necessary following a declaration is there's another declaration
2137+
* A semicolon is only necessary following a declaration if there's another declaration
21382138
* or margin afterwards.
21392139
*/
21402140
var tokenStream = this._tokenStream,

src/css/PropertyValueIterator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ PropertyValueIterator.prototype.next = function(){
105105
* Returns the previous part of the property value or null if there is no
106106
* previous part.
107107
* @return {parserlib.css.PropertyValuePart} The previous part of the
108-
* property value or null if there is no next part.
108+
* property value or null if there is no previous part.
109109
* @method previous
110110
*/
111111
PropertyValueIterator.prototype.previous = function(){

0 commit comments

Comments
 (0)