Issue #2428041 by nod_: Update eslint config for 0.14.1

8.0.x
webchick 2015-02-25 22:28:39 -08:00
parent a2ef3c3fd5
commit 097240a0bc
2 changed files with 8 additions and 8 deletions

View File

@ -21,6 +21,7 @@
"comma-style": [2, "last"],
"eqeqeq": [2, "smart"],
"guard-for-in": 2,
"indent": [2, 2, {"indentSwitchCase": true}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"no-implied-eval": 2,
"no-mixed-spaces-and-tabs": 2,

View File

@ -99,17 +99,16 @@
// If dropped in a placeholder button group, the user must name it.
if ($group.hasClass('placeholder')) {
if (view.isProcessing) {
return;
}
view.isProcessing = true;
if (view.isProcessing) {
return;
}
view.isProcessing = true;
Drupal.ckeditor.openGroupNameDialog(view, $group, callback);
Drupal.ckeditor.openGroupNameDialog(view, $group, callback);
}
else {
view.model.set('isDirty', true);
callback(true);
view.model.set('isDirty', true);
callback(true);
}
},