MDL-47133 editor_atto: fixed lint errors

This commit is contained in:
Sam Hemelryk
2014-12-01 10:36:23 +13:00
parent 231cb5e3d4
commit d125c7d238
4 changed files with 7 additions and 7 deletions
@@ -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;
}
File diff suppressed because one or more lines are too long
@@ -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;
}
+2 -2
View File
@@ -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;
}