efront 3.34.4 → 3.34.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.
Files changed (44) hide show
  1. package/apps/kugou/favicon.ico +0 -0
  2. package/apps/kugou/home.js +1 -1
  3. package/apps/kugou/ie8.js +93 -0
  4. package/apps/kugou/index.html +5 -2
  5. package/apps/kugou/search/search.js +2 -1
  6. package/coms/basic/#decrypt.js +1 -0
  7. package/coms/basic/#loader.js +26 -14
  8. package/coms/basic/ArrayFill.js +1 -1
  9. package/coms/basic/JSAM.js +7 -3
  10. package/coms/basic/Matrix.js +8 -2
  11. package/coms/basic/awaitable.js +1 -1
  12. package/coms/{zimoli → basic}/color.js +14 -4
  13. package/coms/{zimoli → basic}/color_test.js +0 -0
  14. package/coms/basic/decodeUTF16.js +4 -3
  15. package/coms/basic/encodeUTF16.js +18 -3
  16. package/coms/basic/parseURL.js +49 -13
  17. package/coms/basic/parseURL_test.js +6 -1
  18. package/coms/basic/renderExpress.js +1 -1
  19. package/coms/basic_/Array2.js +1 -1
  20. package/coms/basic_/Promise.js +21 -14
  21. package/coms/basic_/[]map.js +27 -3
  22. package/coms/basic_/readme.md +83 -0
  23. package/coms/kugou/api.js +2 -2
  24. package/coms/kugou/dance.js +50 -2
  25. package/coms/kugou/krc.js +5 -0
  26. package/coms/kugou/playList.html +1 -1
  27. package/coms/kugou/playList.js +1 -0
  28. package/coms/kugou/player.html +3 -3
  29. package/coms/kugou/player.js +17 -13
  30. package/coms/kugou/shortcurt.js +8 -0
  31. package/coms/zimoli/LoadingArray.js +9 -25
  32. package/coms/zimoli/appendChild.js +1 -1
  33. package/coms/zimoli/cless.js +0 -1
  34. package/coms/zimoli/data.js +16 -6
  35. package/coms/zimoli/gallery.js +1 -1
  36. package/coms/zimoli/getGenerator.js +1 -1
  37. package/coms/zimoli/on.js +2 -0
  38. package/coms/zimoli/render.js +33 -33
  39. package/coms/zimoli/selectList.js +1 -1
  40. package/data/packexe-setup.sfx +0 -0
  41. package/package.json +1 -1
  42. package/public/efront.js +1 -1
  43. package/readme.md +9 -8
  44. package/coms/basic/encodeUTF16.asm +0 -62
package/readme.md CHANGED
@@ -117,7 +117,9 @@ efront 默认读取当前路径下的`_envs/`和用户目录的`.efront/_envs/`
117
117
  | `DIRECT` | 如果是用`pathname`作为单页应用的页面路径,可以配置此参数,以使空路都指向该参数所指定的路径。如果配置为数值,则自动截取用户路径的前几级,如果指定为字符串,则所有空路径都返回该字符串路径下的内容。 |
118
118
  | `ENTRY_NAME` | efront默认依次查找文件中声明的`main`,`Main`,`MAIN`,`<文件名>`做为导出对象(入口),用户可配置此环境变量以进行修改 |
119
119
  | `EXTRACT` | 如果项目有多个入口,efront默认将主程序写入独立的文件,如果项目是单入口,efront默认将主程序并入index.html,如果您的代码有特殊要求,可以配置引此参数指定efront的行为 |
120
- | `UPLEVEL` | 当前的efront使用 [typescript](https://github.com/microsoft/TypeScript) 建行js版本的降级,如果您的代码发布时不需要降级,可添加此参数,以提高编译速度,typescript内部存在的问题也可由此参数屏蔽 |
120
+ | `UPLEVEL` | 当前的efront使用 [typescript](https://github.com/microsoft/TypeScript) 建行js版本的降级,如果您的代码发布时不需要降级,可添加此参数,以提高编译速度,typescript内部存在的问题也可由此参数屏蔽 |
121
+ | `MSIE` | 用`efront live --msie`启动服务器,可对`ie`系列浏览器进行代码适配,以便在`ie`上动态调试 |
122
+ | `AUTOEVAL` | 自动常量化的开关,在打包目标代码时默认开启,在开发环境默认关闭,可以指定参数`--no-autoeval`或`--autoeval`修改`efront`的默认行为 |
121
123
 
122
124
  # 功能选项
123
125
 
@@ -150,11 +152,10 @@ efront 默认读取当前路径下的`_envs/`和用户目录的`.efront/_envs/`
150
152
  * 从 efront3.29 开始`.xht`文件将被识别为组件文件,如果文件内未提供入口,入口函数将由 efront 自动生成并填充
151
153
  # 相关链接
152
154
 
153
- [看图片,用白前](http://efront.cc/baiplay)
154
-
155
- [与前端框架对比](docs/compare.md)
156
-
157
- [播放器 demo 在线实例](http://efront.cc/kugou/)
158
-
159
- [更新日志](https://github.com/yunxu1019/efront/commits/develop)
155
+ [efront 兼容性说明](coms/basic_/readme.md)
156
+ &nbsp;&nbsp;[更新日志](https://github.com/yunxu1019/efront/commits/develop)
157
+ &nbsp;&nbsp;[与前端框架对比](docs/compare.md)
160
158
 
159
+ [酷酷千百易云音乐](http://efront.cc/kugou/)
160
+ &nbsp;&nbsp;[局域网微信](http://efront.cc/wechat/)
161
+ &nbsp;&nbsp;[白前看图](http://efront.cc/baiplay)
@@ -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
-