Skip to content

Commit

Permalink
Fixed JSLint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Jan 14, 2014
1 parent 5013110 commit 86bd59b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/dom/range.js
Expand Up @@ -1154,7 +1154,7 @@ CKEDITOR.dom.range = function( root ) {
if ( node != startContainer )
siblingText = node.getText();
else
siblingText = node.substring( startOffset )
siblingText = node.substring( startOffset );

// Check if it is white space.
if ( leadingWhitespaceRegex.test( siblingText ) )
Expand Down
1 change: 1 addition & 0 deletions core/selection.js
Expand Up @@ -403,6 +403,7 @@
// Note: this function may only be used if hidden selection container
// is not in DOM any more.
function fixRangesAfterHiddenSelectionContainer( ranges, root ) {
var range;
for ( var i = 0; i < ranges.length; ++i ) {
range = ranges[ i ];
if ( range.endContainer.equals( root ) ) {
Expand Down

0 comments on commit 86bd59b

Please sign in to comment.