File tree Expand file tree Collapse file tree 4 files changed +26
-6
lines changed Expand file tree Collapse file tree 4 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,18 @@ ESL的每个版本,都会将压缩后的资源通过CDN发布,便于开发
7
7
2 . ` min ` : 精简版。删除了 * waitSeconds config的支持* 与 * global require调用时对relative id的检测和报错* ,通常用于对体积要求吹毛求疵的线上环境。
8
8
3 . ` source ` : 源码版。完整的esl源码,可用于开发过程调试。
9
9
10
+ ### 1.8.6
11
+
12
+ ``` html
13
+ <!-- normal -->
14
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6/esl.js" ></script >
15
+
16
+ <!-- min -->
17
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6/esl.min.js" ></script >
18
+
19
+ <!-- source -->
20
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6/esl.source.js" ></script >
21
+
10
22
11
23
### 1.8.4
12
24
Original file line number Diff line number Diff line change
1
+ 1.8.6
2
+ -------
3
+
4
+ + 删除parse id时的验证,用于支持不标准的id (比如id中包含冒号等特殊符号)
5
+ + 内联的script中包含define时,不自动完成模块初始化,初始化时机在async require时开始
6
+ + 打包合并的预定义模块,取消批量初始化机制,仅对async require用到的模块进行初始化
7
+
8
+
1
9
1.8.4
2
10
-------
3
11
19
27
-------
20
28
21
29
+ 推迟模块的初始化时机,依赖模块的初始化从 * 加载时* 推迟到 * 使用时*
22
- + 增加 * noRequests* 配置参数,用于模块定义合并时排除多余模块的请求
30
+ + 增加 * noRequests* 配置参数,用于模块定义合并时排除多余模块的请求
23
31
+ 修复页面中加入无意义的匿名define时,下一个匿名定义的请求模块处理错误的问题
24
32
25
33
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ See [Configuration Options](doc/config.md)
27
27
28
28
``` html
29
29
<!-- normal -->
30
- <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-4 /esl.js" ></script >
30
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6 /esl.js" ></script >
31
31
32
32
<!-- min -->
33
- <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-4 /esl.min.js" ></script >
33
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6 /esl.min.js" ></script >
34
34
35
35
<!-- source -->
36
- <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-4 /esl.source.js" ></script >
36
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6 /esl.source.js" ></script >
37
37
```
38
38
39
39
[ 过往版本] ( CDN.md )
@@ -45,7 +45,7 @@ See [Configuration Options](doc/config.md)
45
45
` uglifyjs -mc + gzip `
46
46
47
47
- ` esl 1.8.4 normal ` 3.4k
48
- - ` esl 1.8.4 min ` 3.2k
48
+ - ` esl 1.8.4 min ` 3.1k
49
49
- ` requirejs 2.1.14 ` 6.1k
50
50
51
51
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " esl" ,
3
3
"description" : " ESL是一个浏览器端、符合AMD的标准加载器,适合用于现代Web浏览器端应用的入口与模块管理。" ,
4
- "version" : " 1.8.4 " ,
4
+ "version" : " 1.8.6 " ,
5
5
"contributors" : [
6
6
{
"name" :
" errorrik" ,
"email" :
" [email protected] " }
7
7
],
You can’t perform that action at this time.
0 commit comments