Skip to content

Commit 86bd59b

Browse files
committed
Fixed JSLint issues.
1 parent 5013110 commit 86bd59b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/dom/range.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ CKEDITOR.dom.range = function( root ) {
11541154
if ( node != startContainer )
11551155
siblingText = node.getText();
11561156
else
1157-
siblingText = node.substring( startOffset )
1157+
siblingText = node.substring( startOffset );
11581158

11591159
// Check if it is white space.
11601160
if ( leadingWhitespaceRegex.test( siblingText ) )

core/selection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@
403403
// Note: this function may only be used if hidden selection container
404404
// is not in DOM any more.
405405
function fixRangesAfterHiddenSelectionContainer( ranges, root ) {
406+
var range;
406407
for ( var i = 0; i < ranges.length; ++i ) {
407408
range = ranges[ i ];
408409
if ( range.endContainer.equals( root ) ) {

0 commit comments

Comments
 (0)