diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2017-12-10 18:55:03 +0200 |
---|---|---|
committer | Tal Gitelman <tg851x@intl.att.com> | 2017-12-10 19:33:38 +0200 |
commit | 51d50f0ef642e0f996a1c8b8d2ef4838bdfec892 (patch) | |
tree | 3ac236a864d74d19b0f5c9020891a7a7e5c31b44 /catalog-ui/src/main.ts | |
parent | b5cc2e0695f195716d6ccdc65e73807a6632ec70 (diff) |
Final commit to master merge from
Change-Id: Ib464f9a8828437c86fe6def8af238aaf83473507
Issue-ID: SDC-714
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'catalog-ui/src/main.ts')
-rw-r--r-- | catalog-ui/src/main.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/catalog-ui/src/main.ts b/catalog-ui/src/main.ts index 9d25a34169..f19f9c4b4e 100644 --- a/catalog-ui/src/main.ts +++ b/catalog-ui/src/main.ts @@ -26,8 +26,8 @@ import {AppModule} from './app/ng2/app.module'; import {UpgradeModule} from '@angular/upgrade/static'; import {IAppConfigurtaion} from "./app/models/app-config"; -declare var __ENV__: string; -export declare var sdc2Config: IAppConfigurtaion; +declare const __ENV__: string; +export declare let sdc2Config: IAppConfigurtaion; if (__ENV__==='prod') { sdc2Config = require('./../configurations/prod.js'); @@ -37,7 +37,6 @@ if (__ENV__==='prod') { } // Ugliy fix because the cookie recieved from webseal change his value after some seconds. -declare var __ENV__: string; let timeout:number = 0; if (__ENV__==='dev'){ timeout=0; |