framework7 7.0.0-beta.11 → 7.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ export default {
31
31
  }
32
32
  }
33
33
 
34
- if (device.cordova || device.phonegap) {
34
+ if (device.cordova) {
35
35
  classNames.push('device-cordova');
36
36
  }
37
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework7",
3
- "version": "7.0.0-beta.11",
3
+ "version": "7.0.0-beta.12",
4
4
  "description": "Full featured mobile HTML framework for building iOS & Android apps",
5
5
  "type": "module",
6
6
  "exports": {
@@ -31,8 +31,6 @@ export interface Device {
31
31
  electron: boolean;
32
32
  /** true when app is running under NW.js environment */
33
33
  nwjs: boolean;
34
- /** true when app running in cordova environment */
35
- phonegap: boolean;
36
34
  /** true if app runs in web view - webapp installed to home screen */
37
35
  webView: boolean;
38
36
  /** true if app runs in web view - webapp installed to home screen */
@@ -22,8 +22,7 @@ function calcDevice({
22
22
  firefox: false,
23
23
  macos: false,
24
24
  windows: false,
25
- cordova: !!(window.cordova || window.phonegap),
26
- phonegap: !!(window.cordova || window.phonegap),
25
+ cordova: !!window.cordova,
27
26
  electron: false,
28
27
  capacitor: !!window.Capacitor,
29
28
  nwjs: false