1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

rename browser utils to platform utils

This commit is contained in:
Kyle Spearrin
2018-01-05 16:30:15 -05:00
parent 01cf48bbed
commit 4a08bf6b71
39 changed files with 147 additions and 137 deletions

View File

@@ -2,7 +2,7 @@ import * as angular from 'angular';
import { Folder } from '../../../../models/domain/folder';
import * as template from './add-folder.component.html';
import { BrowserUtilsService } from '../../../../services/abstractions/browserUtils.service';
import { PlatformUtilsService } from '../../../../services/abstractions/platformUtils.service';
export class AddFolderController {
savePromise: any;
@@ -10,9 +10,10 @@ export class AddFolderController {
i18n: any;
constructor(private folderService: any, private $state: any, private toastr: any,
browserUtilsService: BrowserUtilsService, private $analytics: any, private i18nService: any, $timeout: any) {
platformUtilsService: PlatformUtilsService, private $analytics: any, private i18nService: any,
$timeout: any) {
$timeout(() => {
browserUtilsService.initListSectionItemListeners(document, angular);
platformUtilsService.initListSectionItemListeners(document, angular);
document.getElementById('name').focus();
}, 500);