1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-26 22:01:32 +01:00

add $$ngIsClass on new comps for ESR support

This commit is contained in:
Kyle Spearrin 2017-11-28 10:36:04 -05:00
parent 8332e52a7b
commit 61c53115d9
12 changed files with 33 additions and 11 deletions

View File

@ -130,6 +130,28 @@ import { PasswordGeneratorController } from './tools/password-generator.componen
PasswordGeneratorController.$$ngIsClass = true;
import { ToolsController } from './tools/tools.component';
ToolsController.$$ngIsClass = true;
import { AddFolderController } from './settings/folders/add-folder.component';
AddFolderController.$$ngIsClass = true;
import { EditFolderController } from './settings/folders/edit-folder.component';
EditFolderController.$$ngIsClass = true;
import { FoldersController } from './settings/folders/folders.component';
FoldersController.$$ngIsClass = true;
import { AboutController } from './settings/about.component';
AboutController.$$ngIsClass = true;
import { CreditsController } from './settings/credits.component';
CreditsController.$$ngIsClass = true;
import { EnvironmentController } from './settings/environment.component';
EnvironmentController.$$ngIsClass = true;
import { FeaturesController } from './settings/features.component';
FeaturesController.$$ngIsClass = true;
import { HelpController } from './settings/help.component';
HelpController.$$ngIsClass = true;
import { PremiumController } from './settings/premium.component';
PremiumController.$$ngIsClass = true;
import { SettingsController } from './settings/settings.component';
SettingsController.$$ngIsClass = true;
import { SyncController } from './settings/sync.component';
SyncController.$$ngIsClass = true;
// Bootstrap the angular application
angular.element(function () {

View File

@ -1,6 +1,6 @@
import * as template from './about.component.html';
class AboutController {
export class AboutController {
version: string;
year: number;
i18n: any;

View File

@ -1,6 +1,6 @@
import * as template from './credits.component.html';
class CreditsController {
export class CreditsController {
i18n: any;
constructor(i18nService: any, private $analytics: any) {

View File

@ -2,7 +2,7 @@ import * as angular from 'angular';
import UtilsService from '../../../services/utils.service';
import * as template from './environment.component.html';
class EnvironmentController {
export class EnvironmentController {
iconsUrl: string;
identityUrl: string;
apiUrl: string;

View File

@ -3,7 +3,7 @@ import { UtilsService } from '../../../services/abstractions/utils.service';
import StateService from '../services/state.service';
import * as template from './features.component.html';
class FeaturesController {
export class FeaturesController {
disableFavicon = false;
enableAutoFillOnPageLoad = false;
disableAutoTotpCopy = false;

View File

@ -3,7 +3,7 @@ import { Folder } from '../../../../models/domain/folder';
import { UtilsService } from '../../../../services/abstractions/utils.service';
import * as template from './add-folder.component.html';
class AddFolderController {
export class AddFolderController {
savePromise: any;
folder: {};
i18n: any;

View File

@ -3,7 +3,7 @@ import { Folder } from '../../../../models/domain/folder';
import UtilsService from '../../../../services/utils.service';
import * as template from './edit-folder.component.html';
class EditFolderController {
export class EditFolderController {
$transition$: any;
folderId: any;
savePromise: any = null;

View File

@ -1,7 +1,7 @@
import { Folder } from '../../../../models/domain/folder';
import * as template from './folders.component.html';
class FoldersController {
export class FoldersController {
folders: Folder[] = [];
i18n: any;
loaded = false;

View File

@ -1,6 +1,6 @@
import * as template from './help.component.html';
class HelpController {
export class HelpController {
i18n: any;
constructor(i18nService: any, private $analytics: any) {

View File

@ -1,6 +1,6 @@
import * as template from './premium.component.html';
class PremiumController {
export class PremiumController {
isPremium: boolean;
i18n: any;
price = '$10';

View File

@ -17,7 +17,7 @@ const RateUrls = {
'https://www.microsoft.com/store/p/bitwarden-free-password-manager/9p6kxl0svnnl',
};
class SettingsController {
export class SettingsController {
lockOption = '';
i18n: any;
showOnLocked: boolean;

View File

@ -1,6 +1,6 @@
import * as template from './sync.component.html';
class SyncController {
export class SyncController {
i18n: any;
lastSync = '--';
loading = false;