Skip to content
Permalink
Browse files

Fixed JSLint issues.

  • Loading branch information...
oleq committed Jan 14, 2014
1 parent 5013110 commit 86bd59b161859870e84157a7188c165bb9d00a9f
Showing with 2 additions and 1 deletion.
  1. +1 −1 core/dom/range.js
  2. +1 −0 core/selection.js
@@ -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 ) )
@@ -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 ) ) {

0 comments on commit 86bd59b

Please sign in to comment.
You can’t perform that action at this time.