Skip to content

Commit

Permalink
Merge pull request #1020 from wincent/lint/n+12
Browse files Browse the repository at this point in the history
Fix 3 lints in src/core/uicore.js
  • Loading branch information
julien authored Jan 29, 2019
2 parents 97183ba + ce37833 commit 5eee1d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/uicore.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
}
}, uiTasksTimeout);

let handleAria = CKEDITOR.tools.debounce(function(event) {
let handleAria = CKEDITOR.tools.debounce(function(_event) {
ariaElement.innerHTML = ariaState.join('. ');
}, uiTasksTimeout);

Expand Down Expand Up @@ -132,7 +132,7 @@
editor.once('contentDom', function() {
let editable = editor.editable();

var focusHandler = editable.attachListener(
const focusHandler = editable.attachListener(
editable,
'focus',
function(event) {
Expand All @@ -151,7 +151,7 @@
);
});

editor.on('destroy', function(event) {
editor.on('destroy', function(_event) {
ariaElement.parentNode.removeChild(ariaElement);

handleUI.detach();
Expand Down

0 comments on commit 5eee1d4

Please sign in to comment.