MDL-47133 editor_atto: fixed lint errors
This commit is contained in:
+2
-2
@@ -827,7 +827,7 @@ EditorPluginButtons.prototype = {
|
||||
handler = callback;
|
||||
|
||||
} else {
|
||||
modifier = this._getDefaultMetaKey()
|
||||
modifier = this._getDefaultMetaKey();
|
||||
keys = this._getKeyEvent() + keyConfig + '+' + modifier;
|
||||
if (typeof this._primaryKeyboardShortcut[buttonName] === 'undefined') {
|
||||
this._primaryKeyboardShortcut[buttonName] = this._getDefaultMetaKeyDescription(keyConfig);
|
||||
@@ -867,7 +867,7 @@ EditorPluginButtons.prototype = {
|
||||
var exactMatch = true,
|
||||
hasKey;
|
||||
|
||||
if (e.type != 'key') {
|
||||
if (e.type !== 'key') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -825,7 +825,7 @@ EditorPluginButtons.prototype = {
|
||||
handler = callback;
|
||||
|
||||
} else {
|
||||
modifier = this._getDefaultMetaKey()
|
||||
modifier = this._getDefaultMetaKey();
|
||||
keys = this._getKeyEvent() + keyConfig + '+' + modifier;
|
||||
if (typeof this._primaryKeyboardShortcut[buttonName] === 'undefined') {
|
||||
this._primaryKeyboardShortcut[buttonName] = this._getDefaultMetaKeyDescription(keyConfig);
|
||||
@@ -863,7 +863,7 @@ EditorPluginButtons.prototype = {
|
||||
var exactMatch = true,
|
||||
hasKey;
|
||||
|
||||
if (e.type != 'key') {
|
||||
if (e.type !== 'key') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -678,7 +678,7 @@ EditorPluginButtons.prototype = {
|
||||
handler = callback;
|
||||
|
||||
} else {
|
||||
modifier = this._getDefaultMetaKey()
|
||||
modifier = this._getDefaultMetaKey();
|
||||
keys = this._getKeyEvent() + keyConfig + '+' + modifier;
|
||||
if (typeof this._primaryKeyboardShortcut[buttonName] === 'undefined') {
|
||||
this._primaryKeyboardShortcut[buttonName] = this._getDefaultMetaKeyDescription(keyConfig);
|
||||
@@ -718,7 +718,7 @@ EditorPluginButtons.prototype = {
|
||||
var exactMatch = true,
|
||||
hasKey;
|
||||
|
||||
if (e.type != 'key') {
|
||||
if (e.type !== 'key') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user