Skip to content

Commit e405ca6

Browse files
authored
Merge pull request #2087 from clinyong/master
在 isArrayLike 中增加 Set 类型
2 parents 3e321d9 + 0992e92 commit e405ca6

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
npm install avalon2
2727
```
2828

29-
es6调用方式
29+
es6调用方式
3030
```
3131
import * as avalon from 'avalon2'
3232
```
@@ -49,7 +49,7 @@ import * as avalon from 'avalon2'
4949

5050
### [UI库2](https://github.com/aLoNeIT/flyUI)
5151

52-
###[avalon 单页后台管理系统框架:webpack+avalon+自定义avalon-router组件+jquery+bootstrap](https://github.com/Levan-Du/avalon-spa-app)
52+
### [avalon 单页后台管理系统框架:webpack+avalon+自定义avalon-router组件+jquery+bootstrap](https://github.com/Levan-Du/avalon-spa-app)
5353

5454
### [avalon2 SPA脚手架 MS-BUS](https://github.com/xxapp/ms-bus)
5555
一个 SPA 的脚手架(模块组织加载方式、单页面局部刷新技术、路由控制、后端数据的接入与模拟等实践/完整的增删改查示例)
@@ -83,7 +83,7 @@ CDN: `https://unpkg.com/[email protected]/dist/avalon.js`
8383

8484
测试页面 perf目录下的index.html, index1.4.html, index-ng.html, index-vue.html,index-react.html
8585

86-
亮点,如果页面上存在一个大表格或列表,其他框架会在浏览器加载页面时会卡一下(白屏),
86+
亮点,如果页面上存在一个大表格或列表,其他框架会在浏览器加载页面时会卡一下(白屏),
8787
而avalon则平缓多了
8888

8989
thanks http://charts.udpwork.com/
@@ -120,5 +120,3 @@ ms-important与ms-controller对应的vm.$id一个页面上只能用一次,不能
120120
<div ms-controller='test'>{{@bbb}}<!--test已经使用了1次!会导致程序出错--></div>
121121
<div ms-important='test'>{{@bbb}}<!--test已经使用了2次!会导致程序出错--></div>
122122
```
123-
124-

src/seed/lang.modern.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { avalon, ohasOwn, inspect } from './core'
33
export { avalon }
44
var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/
5-
var rarraylike = /(Array|List|Collection|Map|Arguments)\]$/
5+
var rarraylike = /(Array|List|Collection|Map|Arguments|Set)\]$/
66

77

88
// avalon.type
@@ -146,4 +146,4 @@ new function welcome() {
146146
if (hasGroup) {
147147
console.groupEnd(welcomeIntro);
148148
}
149-
}
149+
}

0 commit comments

Comments
 (0)