File tree Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,19 @@ ESL的每个版本,都会将压缩后的资源通过CDN发布,便于开发
7
7
2 . ` min ` : 精简版。删除了 * waitSeconds config的支持* 与 * global require调用时对relative id的检测和报错* ,通常用于对体积要求吹毛求疵的线上环境。
8
8
3 . ` source ` : 源码版。完整的esl源码,可用于开发过程调试。
9
9
10
+ ### 1.8.8
11
+
12
+ ``` html
13
+ <!-- normal -->
14
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-8/esl.js" ></script >
15
+
16
+ <!-- min -->
17
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-8/esl.min.js" ></script >
18
+
19
+ <!-- source -->
20
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-8/esl.source.js" ></script >
21
+
22
+
10
23
### 1.8.6
11
24
12
25
```html
Original file line number Diff line number Diff line change
1
+ 1.8.8
2
+ -------
3
+
4
+ + 更改全局变量的暴露方式,使require和define能够使用闭包的方式包装
5
+ + 对代码进行两处简单的小优化,删除无用变量
6
+ + 代码格式符合新规范
7
+
8
+
1
9
1.8.6
2
10
-------
3
11
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-6 /esl.js" ></script >
30
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-8 /esl.js" ></script >
31
31
32
32
<!-- min -->
33
- <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6 /esl.min.js" ></script >
33
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-8 /esl.min.js" ></script >
34
34
35
35
<!-- source -->
36
- <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-6 /esl.source.js" ></script >
36
+ <script src =" http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-8 /esl.source.js" ></script >
37
37
```
38
38
39
39
[ 过往版本] ( CDN.md )
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.6 " ,
4
+ "version" : " 1.8.8 " ,
5
5
"contributors" : [
6
6
{
"name" :
" errorrik" ,
"email" :
" [email protected] " }
7
7
],
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ var esl;
160
160
*
161
161
* @type {string }
162
162
*/
163
- globalRequire . version = '1.8.6 ' ;
163
+ globalRequire . version = '1.8.8 ' ;
164
164
165
165
/**
166
166
* loader名称
You can’t perform that action at this time.
0 commit comments