@dolphinweex/weex-vue-render 0.2.6 → 0.2.7
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.
- package/dist/index.common.js +4 -2
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -3994,7 +3994,7 @@ function initEnv (viewportInfo, envInfo) {
|
|
|
3994
3994
|
osName: device_display.osName,
|
|
3995
3995
|
statusBarHeight: device_display.statusBarHeight,
|
|
3996
3996
|
safeAreaBottomHeight: device_display.safeAreaBottomHeight,
|
|
3997
|
-
isImmersion: device_display.isImmersion,
|
|
3997
|
+
isImmersion: device_display.isImmersion ? "true" : "false",
|
|
3998
3998
|
|
|
3999
3999
|
};
|
|
4000
4000
|
/**
|
|
@@ -9999,7 +9999,9 @@ var dom = {
|
|
|
9999
9999
|
if (ct && el) {
|
|
10000
10000
|
var dSuffix = ({
|
|
10001
10001
|
horizontal: 'Left',
|
|
10002
|
-
vertical: 'Top'
|
|
10002
|
+
vertical: 'Top',
|
|
10003
|
+
column: 'Top',
|
|
10004
|
+
row: 'Left'
|
|
10003
10005
|
})[scrollDirection];
|
|
10004
10006
|
var ctRect = ct.getBoundingClientRect();
|
|
10005
10007
|
var elRect = el.getBoundingClientRect();
|
package/package.json
CHANGED