@wavemaker/angular-codegen 11.0.1-next.139256 → 11.0.1-next.139257
Sign up to get free protection for your applications and to get access to all the features.
@@ -93,15 +93,18 @@ const addMobileSpecificStyles = async (deployUrl) => {
|
|
93
93
|
}
|
94
94
|
|
95
95
|
const addScriptForWMStylesPath = (wm_styles_path) => {
|
96
|
-
|
97
|
-
if(
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
96
|
+
// wm_styles_path will not be present for mobile apps
|
97
|
+
if (wm_styles_path) {
|
98
|
+
let styleType = wm_styles_path.split(".").pop();
|
99
|
+
if(styleType==="css"){
|
100
|
+
$("head").append(
|
101
|
+
`<link rel="stylesheet" type="text/css" href="${wm_styles_path}"/>`
|
102
|
+
);
|
103
|
+
} else {
|
104
|
+
$("body").append(
|
105
|
+
`<script type="text/javascript" defer="true" src="${wm_styles_path}"></script>`
|
106
|
+
);
|
107
|
+
}
|
105
108
|
}
|
106
109
|
$("head").append(
|
107
110
|
`<link rel="stylesheet" type="text/css" media="print" href="print.css"/>`
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"tslib": "^2.0.0",
|
69
69
|
"x2js": "3.2.6",
|
70
70
|
"zone.js": "~0.10.3",
|
71
|
-
"@wavemaker/app-ng-runtime": "11.0.1-next.
|
71
|
+
"@wavemaker/app-ng-runtime": "11.0.1-next.139257"
|
72
72
|
},
|
73
73
|
"devDependencies": {
|
74
74
|
"@ampproject/rollup-plugin-closure-compiler": "0.8.5",
|