Replace all instances off "Focussed" with "Focused" except ContextKey (#32904)

* Replace focussed with focused

* Replace Focussed with Focused
This commit is contained in:
Christopher Leidigh
2017-08-22 05:13:07 -04:00
committed by Benjamin Pasero
parent ad0bd9b777
commit f3bf53f6b8
24 changed files with 108 additions and 107 deletions
+2 -2
View File
@@ -112,9 +112,9 @@ function hasCodeSettings(folder: string, normalizedUserHome?: string, codeSettin
}
export function getLastActiveWindow<W extends ISimpleWindow>(windows: W[]): W {
const lastFocussedDate = Math.max.apply(Math, windows.map(window => window.lastFocusTime));
const lastFocusedDate = Math.max.apply(Math, windows.map(window => window.lastFocusTime));
return windows.filter(window => window.lastFocusTime === lastFocussedDate)[0];
return windows.filter(window => window.lastFocusTime === lastFocusedDate)[0];
}
export function findWindowOnWorkspace<W extends ISimpleWindow>(windows: W[], workspace: (IWorkspaceIdentifier | ISingleFolderWorkspaceIdentifier)): W {