chore(version-snjs): 2.7.18

This commit is contained in:
Antonella Sgarlatta
2021-07-13 19:23:14 -03:00
parent 0e67f78259
commit b1aeaeac41
10 changed files with 8 additions and 24 deletions

View File

@@ -91,7 +91,6 @@ function reloadHiddenFirefoxTab(): boolean {
const startApplication: StartApplication = async function startApplication(
defaultSyncServerHost: string,
bridge: Bridge,
nextVersionSyncServerHost: string
) {
if (reloadHiddenFirefoxTab()) {
return;
@@ -108,7 +107,6 @@ const startApplication: StartApplication = async function startApplication(
.config(configRoutes)
.constant('bridge', bridge)
.constant('defaultSyncServerHost', defaultSyncServerHost)
.constant('nextVersionSyncServerHost', nextVersionSyncServerHost)
.constant('appVersion', bridge.appVersion);
// Controllers
@@ -195,7 +193,6 @@ if (__WEB__) {
startApplication(
(window as any)._default_sync_server,
new BrowserBridge(__VERSION__),
(window as any)._next_version_sync_server
);
} else {
(window as any).startApplication = startApplication;

View File

@@ -3,5 +3,4 @@ import { Bridge } from "./services/bridge";
export type StartApplication = (
defaultSyncServerHost: string,
bridge: Bridge,
nextVersionSyncServerHost: string
) => Promise<void>;

View File

@@ -53,7 +53,6 @@ export class WebApplication extends SNApplication {
scope: angular.IScope,
defaultSyncServerHost: string,
public bridge: Bridge,
nextVersionSyncServerHost: string,
) {
super(
bridge.environment,
@@ -64,7 +63,6 @@ export class WebApplication extends SNApplication {
identifier,
[],
defaultSyncServerHost,
nextVersionSyncServerHost,
);
this.$compile = $compile;
this.scope = scope;

View File

@@ -29,7 +29,6 @@ export class ApplicationGroup extends SNApplicationGroup {
$timeout: ng.ITimeoutService,
private defaultSyncServerHost: string,
private bridge: Bridge,
private nextVersionSyncServerHost: string,
) {
super(new WebDeviceInterface($timeout, bridge));
this.$compile = $compile;
@@ -64,7 +63,6 @@ export class ApplicationGroup extends SNApplicationGroup {
scope,
this.defaultSyncServerHost,
this.bridge,
this.nextVersionSyncServerHost,
);
const appState = new AppState(
this.$rootScope,