efront 3.34.6 → 3.34.8

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/readme.md CHANGED
@@ -118,7 +118,8 @@ efront 默认读取当前路径下的`_envs/`和用户目录的`.efront/_envs/`
118
118
  | `ENTRY_NAME` | efront默认依次查找文件中声明的`main`,`Main`,`MAIN`,`<文件名>`做为导出对象(入口),用户可配置此环境变量以进行修改 |
119
119
  | `EXTRACT` | 如果项目有多个入口,efront默认将主程序写入独立的文件,如果项目是单入口,efront默认将主程序并入index.html,如果您的代码有特殊要求,可以配置引此参数指定efront的行为 |
120
120
  | `UPLEVEL` | 当前的efront使用 [typescript](https://github.com/microsoft/TypeScript) 建行js版本的降级,如果您的代码发布时不需要降级,可添加此参数,以提高编译速度,typescript内部存在的问题也可由此参数屏蔽 |
121
- | `MSIE` | 用`efront live --msie`启动服务器,可对`ie`系列浏览器进行代码适配,以便在`ie`上动态调试 |
121
+ | `MSIE` | 用`efront live --msie`启动服务器,可对`ie`系列浏览器进行代码适配,以便在`ie`上动态调试 |
122
+ | `AUTOEVAL` | 自动常量化的开关,在打包目标代码时默认开启,在开发环境默认关闭,可以指定参数`--no-autoeval`或`--autoeval`修改`efront`的默认行为 |
122
123
 
123
124
  # 功能选项
124
125
 
@@ -1,62 +0,0 @@
1
- numberUTF16 proc t,dist
2
- mov edx,t
3
- .if edx>10ffffh
4
- ret
5
- .endif
6
- mov ebx,dist
7
- .if edx<=0ffffh
8
- mov eax,edx
9
- shr eax,8
10
- mov BYTE ptr[ebx],al
11
- mov eax,edx
12
- and eax,0ffh
13
- inc ebx
14
- mov BYTE ptr[ebx],al
15
- inc ebx
16
- .else
17
- sub edx,010000h
18
- mov eax,edx
19
- shr eax,18
20
- or eax,11011000b
21
- mov BYTE ptr[ebx],al
22
- inc ebx
23
- mov eax,edx
24
- shr eax,10
25
- and eax,0ffh
26
- mov BYTE ptr[ebx],al
27
- inc ebx
28
- mov eax,edx
29
- shr eax,8
30
- and eax,00000011b
31
- or eax,11011000b
32
- mov BYTE ptr[ebx],al
33
- inc ebx
34
- mov eax,edx
35
- and eax,0ffh
36
- mov BYTE ptr[ebx],al
37
- inc ebx
38
- .endif
39
- mov eax,ebx
40
-
41
- ret
42
- numberUTF16 endp
43
-
44
- encodeUTF16 proc srcstart,srcleng,dststart
45
- local srcend
46
- mov eax,10086h
47
- mov ebx,srcleng
48
- mov ecx,srcstart
49
- mov edx,ecx
50
- add edx,srcleng
51
- mov srcend,edx
52
- .while ecx<srcend
53
- mov eax,DWORD ptr[eax]
54
- invoke numberUTF16,DWORD ptr[ecx],dststart
55
- mov dststart,eax
56
- add ecx,4
57
- .endw
58
- mov WORD ptr[dststart],0
59
- ret
60
- encodeUTF16 endp
61
-
62
-