From e7f8fb547940c134de50db80ffaf54be1135ca7b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= <benoit.pin@gmail.com> Date: Fri, 1 Aug 2014 10:47:12 +0200 Subject: [PATCH 1/1] jslint --- skins/ckeditor/plugins/plinn_styles/plugin.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/skins/ckeditor/plugins/plinn_styles/plugin.js b/skins/ckeditor/plugins/plinn_styles/plugin.js index 742a40a..835b08b 100644 --- a/skins/ckeditor/plugins/plinn_styles/plugin.js +++ b/skins/ckeditor/plugins/plinn_styles/plugin.js @@ -38,18 +38,18 @@ PlinnStylesCombo.prototype.init = function() { for (i=0 ; i < this.styles.length ; i++) { style = this.styles[i]; this.add(style.name, - '<div class="' + style.className + '">' + - style.name + - '</div>', - style.name - ); + '<div class="' + style.className + '">' + + style.name + + '</div>', + style.name + ); } }; PlinnStylesCombo.prototype.onClick = function(value) { this.editor.focus(); this.editor.fire('saveSnapshot'); - var style = this.styles[value] + var style = this.styles[value]; var className = style.className; var ranges = this.editor.getSelection().getRanges(); var element = this.editor.elementPath().lastElement; -- 2.20.1