[ADF-3591] spellcheck support for code (#3827)

* setup spellcheck
This commit is contained in:
Denys Vuika
2018-10-23 15:05:38 +01:00
committed by Eugenio Romano
parent 53d96679ea
commit e39a2b149b
262 changed files with 1561 additions and 1005 deletions

View File

@@ -49,8 +49,8 @@ export class FolderActionsService {
*/
getHandler(key: string): ContentActionHandler {
if (key) {
let lkey = key.toLowerCase();
return this.handlers[lkey] || null;
let lKey = key.toLowerCase();
return this.handlers[lKey] || null;
}
return null;
}
@@ -63,8 +63,8 @@ export class FolderActionsService {
*/
setHandler(key: string, handler: ContentActionHandler): boolean {
if (key) {
let lkey = key.toLowerCase();
this.handlers[lkey] = handler;
let lKey = key.toLowerCase();
this.handlers[lKey] = handler;
return true;
}
return false;