efront 4.35.0 → 4.35.2
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/coms/compile/autoeval.js +4 -2
- package/coms/compile/autoeval_test.js +3 -0
- package/coms/pivot/login.xht +1 -1
- package/package.json +24 -24
- package/public/efront.js +2 -1
- package/public//346/226/207/344/273/266/347/263/273/347/273/237//344/270/273/351/241/265.jsp +2 -2
- package/tools/build-efront +0 -22
- package/tools/build-efront.bat +0 -22
- package/tools/build-efront.js +0 -64
- package/tools/build-setup.bat +0 -9
- package/tools/buildEmoji.js +0 -17
- package/tools/electron.js +0 -37
- package/tools/empty.js +0 -11
- package/tools/fixBuffer.js +0 -41
- package/tools/install-all.js +0 -46
- package/tools/makeUseStrict.js +0 -35
- package/tools/readHelpersFromTypescript.js +0 -82
- package/tools/reload.js +0 -20
- package/tools/run-efront.bat +0 -14
- package/tools/toCRLF.js +0 -30
- package/tools/unwrap-typescript.js +0 -28
- package/tools/update-libs.bat +0 -86
- package/tools/write-utf8.js +0 -39
package/coms/compile/autoeval.js
CHANGED
|
@@ -276,7 +276,9 @@ function solve(body, ox, dx) {
|
|
|
276
276
|
if (cache.length && p <= cache[cache.length - 1]) {
|
|
277
277
|
var p1 = p;
|
|
278
278
|
var pt1 = pt;
|
|
279
|
+
var p2 = p;
|
|
279
280
|
while (p1 <= cache[cache.length - 1]) {
|
|
281
|
+
p2 = p1;
|
|
280
282
|
p1 = cache.pop();
|
|
281
283
|
pt1 = cache.pop();
|
|
282
284
|
bx = cache.pop();
|
|
@@ -285,7 +287,7 @@ function solve(body, ox, dx) {
|
|
|
285
287
|
if (p === p1 && p > powermap[">>>"]) cache.push(bx, pt1, p1);
|
|
286
288
|
continue;
|
|
287
289
|
}
|
|
288
|
-
var cx1 = make(body, bx, cx,
|
|
290
|
+
var cx1 = make(body, bx, cx, p === p2 ? pt1 : null);
|
|
289
291
|
if (cx1 !== cx) {
|
|
290
292
|
dx -= cx - cx1;
|
|
291
293
|
cx = cx1;
|
|
@@ -321,7 +323,7 @@ function solve(body, ox, dx) {
|
|
|
321
323
|
if (cache.length) {
|
|
322
324
|
var bx = cache[0];
|
|
323
325
|
var pt = cache[1];
|
|
324
|
-
if (cx - bx >= 2) {
|
|
326
|
+
if (cx - bx >= 2 && cache[2] <= p) {
|
|
325
327
|
cx = make(body, bx, cx, cache[1]);
|
|
326
328
|
}
|
|
327
329
|
}
|
|
@@ -82,4 +82,7 @@ tc("hwb(120 0 0)", "#0f0");
|
|
|
82
82
|
tc("hwb(120turn 0 0)", "#f00");
|
|
83
83
|
tc("calc(10 / 20)", "0.5");
|
|
84
84
|
tc("calc(10 / 20)", "0.5");
|
|
85
|
+
tc("Math.log(f) / Math.LN2 / 10 | 0", "Math.log(f) * 0.14426950408889633 | 0");
|
|
86
|
+
tc("Math.log(f) / Math.LN2 / 10 * 10 | 0", "Math.log(f) * 1.4426950408889634 | 0");
|
|
87
|
+
tc("Math.log(f) / Math.LN2 / 10 ** 2 | 0", "Math.log(f) * 0.014426950408889633 | 0");
|
|
85
88
|
// tf(path.join(__dirname, "../zimoli/spacechar_test.js"))
|
package/coms/pivot/login.xht
CHANGED
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "efront",
|
|
3
|
+
"version": "4.35.2",
|
|
4
|
+
"description": "一个开发环境,提供一种自由的前端开发模式,也可作为辅助工具使用。",
|
|
5
|
+
"main": "public/efront.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"bin": {
|
|
10
|
+
"efront": "public/efront.js"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"prepack": "node tools/build-efront.js --node --no-target&node public/efront build 文件系统.html"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/yunxu1019/efront.git"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"efront"
|
|
21
|
+
],
|
|
22
|
+
"author": "yunxu1019",
|
|
23
|
+
"license": "MIT"
|
|
24
|
+
}
|