refactor: remove most facades (#12399)

This commit is contained in:
Victor Berchet
2016-10-21 15:14:44 -07:00
committed by Igor Minar
parent e319cfefc3
commit 57051f01ce
47 changed files with 204 additions and 444 deletions

View File

@ -58,7 +58,7 @@ export class KeyEventsPlugin extends EventManagerPlugin {
var fullKey = '';
modifierKeys.forEach(modifierName => {
if (ListWrapper.contains(parts, modifierName)) {
if (parts.indexOf(modifierName) > -1) {
ListWrapper.remove(parts, modifierName);
fullKey += modifierName + '.';
}