Skip to content

Commit

Permalink
JSCS and JSHint fixes in widget and font plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Sep 19, 2014
1 parent c567b1e commit 29887c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/font/plugin.js
Expand Up @@ -27,8 +27,9 @@

styles[ name ] = new CKEDITOR.style( styleDefinition, vars );
styles[ name ]._.definition.name = name;
} else
} else {
names.splice( i--, 1 );
}
}

editor.ui.addRichCombo( comboName, {
Expand Down Expand Up @@ -101,7 +102,9 @@

CKEDITOR.plugins.add( 'font', {
requires: 'richcombo',
// jscs:disable maximumLineLength
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
// jscs:enable maximumLineLength
init: function( editor ) {
var config = editor.config;

Expand Down
2 changes: 2 additions & 0 deletions plugins/widget/dev/console.js
Expand Up @@ -3,6 +3,8 @@
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/

/* global CKCONSOLE */

'use strict';

( function() {
Expand Down
2 changes: 2 additions & 0 deletions plugins/widget/plugin.js
Expand Up @@ -14,7 +14,9 @@
var DRAG_HANDLER_SIZE = 15;

CKEDITOR.plugins.add( 'widget', {
// jscs:disable maximumLineLength
lang: 'ar,ca,cs,cy,de,el,en,en-gb,eo,es,fa,fi,fr,gl,he,hr,hu,it,ja,km,ko,nb,nl,no,pl,pt,pt-br,ru,sl,sv,tt,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
// jscs:enable maximumLineLength
requires: 'lineutils,clipboard',
onLoad: function() {
CKEDITOR.addCss(
Expand Down

0 comments on commit 29887c2

Please sign in to comment.