Skip to content

Commit a75b08c

Browse files
author
Garry Yao
committed
Fixed lint warnings.
1 parent 4bde874 commit a75b08c

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

core/htmldataprocessor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
else if ( isBlockBoundary( next ) && previous && !isBlockBoundary( previous ) ) {
231231
insertBefore( next, createFiller( isOutput ) );
232232
}
233-
}
233+
};
234234
}
235235

236236
// Determinate whether this node is potentially a bogus node.
@@ -605,7 +605,7 @@
605605
}
606606
}
607607
// Disable form elements editing mode provided by some browers. (#5746)
608-
for ( i in { input:1,textarea:1 } ) {
608+
for ( var i in { input:1,textarea:1 } ) {
609609
defaultDataFilterRules.elements[ i ] = protectReadOnly;
610610
defaultHtmlFilterRules.elements[ i ] = unprotectReadyOnly;
611611
}

core/selection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
if ( evt.data.getTarget().is( 'html' ) ) {
325325
// Limit the text selection mouse move inside of editable. (#9715)
326326
outerDoc.on( 'mouseup', onSelectEnd );
327-
html.on( 'mouseup', onSelectEnd )
327+
html.on( 'mouseup', onSelectEnd );
328328
}
329329

330330
});

plugins/clipboard/plugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,8 @@
792792
return false;
793793
}
794794
}
795+
796+
return true;
795797
}
796798

797799
// Listens for some clipboard related keystrokes, so they get customized.

plugins/colordialog/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ CKEDITOR.plugins.colordialog = {
5656
} );
5757
} );
5858
}
59-
}
59+
};
6060

6161

6262
}

plugins/list/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@
788788
if ( !range.collapsed )
789789
return;
790790

791-
var path = new CKEDITOR.dom.elementPath( range.startContainer );
791+
path = new CKEDITOR.dom.elementPath( range.startContainer );
792792
var isBackspace = key == 8;
793793
var editable = editor.editable();
794794
var walker = new CKEDITOR.dom.walker( range.clone() );

plugins/magicline/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@
14001400
box.scroll = {
14011401
top: element.$.scrollTop,
14021402
left: element.$.scrollLeft
1403-
}
1403+
};
14041404
}
14051405

14061406
return extend({

0 commit comments

Comments
 (0)