Skip to content

Commit 7531923

Browse files
committed
Styling updates for addKey(string) whitespace fix
1 parent f29892b commit 7531923

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/input/keyboard/KeyboardPlugin.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,11 @@ var KeyboardPlugin = new Class({
344344

345345
for (var i = 0; i < keys.length; i++)
346346
{
347-
var current_key = keys[i].trim();
348-
if (current_key) output[current_key] = this.addKey(current_key);
347+
var currentKey = keys[i].trim();
348+
if (currentKey)
349+
{
350+
output[currentKey] = this.addKey(currentKey);
351+
}
349352
}
350353
}
351354
else

0 commit comments

Comments
 (0)