@ray-js/framework 1.3.99-beta.2 → 1.3.99-beta.4
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/lib/runtime/index.js +1 -1
- package/lib/runtime/responsive.js +2 -1
- package/package.json +10 -10
package/lib/runtime/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "core-js/modules/es.parse-float.js";
|
|
2
|
-
var htmlRoot = document.querySelector('html');
|
|
3
2
|
export function responsive() {
|
|
3
|
+
var htmlRoot = document.querySelector('html');
|
|
4
|
+
|
|
4
5
|
function setRem() {
|
|
5
6
|
var clientWidth = htmlRoot.clientWidth; // clientWidth = Math.min(clientWidth, 640); // PC 模式下限定最大值
|
|
6
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/framework",
|
|
3
|
-
"version": "1.3.99-beta.
|
|
3
|
+
"version": "1.3.99-beta.4",
|
|
4
4
|
"description": "Ray Core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ray"
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"watch": "tsc -p ./tsconfig.build.json --module esnext --outDir lib --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@ray-js/framework-mp": "^1.3.99-beta.
|
|
24
|
-
"@ray-js/framework-shared": "^1.3.99-beta.
|
|
25
|
-
"@ray-js/library": "^1.3.99-beta.
|
|
26
|
-
"@ray-js/location": "^1.3.99-beta.
|
|
27
|
-
"@ray-js/router": "^1.3.99-beta.
|
|
28
|
-
"@ray-js/runtime": "^1.3.99-beta.
|
|
23
|
+
"@ray-js/framework-mp": "^1.3.99-beta.4",
|
|
24
|
+
"@ray-js/framework-shared": "^1.3.99-beta.4",
|
|
25
|
+
"@ray-js/library": "^1.3.99-beta.4",
|
|
26
|
+
"@ray-js/location": "^1.3.99-beta.4",
|
|
27
|
+
"@ray-js/router": "^1.3.99-beta.4",
|
|
28
|
+
"@ray-js/runtime": "^1.3.99-beta.4",
|
|
29
29
|
"clsx": "^1.1.1",
|
|
30
30
|
"hoist-non-react-statics": "^3.3.2",
|
|
31
31
|
"lodash.get": "^4.4.2",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"tiny-invariant": "^1.1.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@ray-js/cli": "^1.3.99-beta.
|
|
38
|
-
"@ray-js/types": "^1.3.99-beta.
|
|
37
|
+
"@ray-js/cli": "^1.3.99-beta.4",
|
|
38
|
+
"@ray-js/types": "^1.3.99-beta.4"
|
|
39
39
|
},
|
|
40
40
|
"maintainers": [
|
|
41
41
|
{
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"email": "tuyafe@tuya.com"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "d7023ac947690654dc0c20e8bc7c292f16005236",
|
|
47
47
|
"repository": {}
|
|
48
48
|
}
|