@wavemaker/angular-codegen 11.1.0-next.24327 → 11.1.0-next.24328
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,6 @@ import { AppModule } from './app/app.module';
|
|
5
5
|
import { environment } from './environments/environment';
|
6
6
|
|
7
7
|
import initWmProjectProperties from './app/wm-project-properties';
|
8
|
-
import { isIos, isSpotcues } from '@wm/core';
|
9
|
-
import { initSpotCues } from '@wm/runtime/base';
|
10
8
|
|
11
9
|
initWmProjectProperties();
|
12
10
|
|
@@ -16,9 +14,7 @@ if (environment.production) {
|
|
16
14
|
|
17
15
|
document.addEventListener('DOMContentLoaded', () => {
|
18
16
|
new Promise<Event | void>( resolve => {
|
19
|
-
if (
|
20
|
-
initSpotCues().then(resolve);
|
21
|
-
} else if (window['cordova']) {
|
17
|
+
if (window['cordova']) {
|
22
18
|
document.addEventListener('deviceready', resolve);
|
23
19
|
} else {
|
24
20
|
resolve();
|