Skip to content

Commit aa14c82

Browse files
committed
six test
1 parent 496805d commit aa14c82

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,15 @@ const OS = getOS()
4949

5050
### Array
5151
####   [arrayEqual][arrayEqual]  判断两个数组是否相等
52+
####   [getMax][getMax]  获取数组的最大值
53+
####   [getMin][getMin]  获取数组的最小值
5254

5355
### Class
5456
####   [addClass][addClass]  为元素添加class
5557
####   [hasClass][hasClass]  判断元素是否有某个class
5658
####   [removeClass][removeClass]  为元素移除class
59+
####   [getByClass][getByClass]  根据类名获取元素
60+
5761

5862
### Cookie
5963
####   [getCookie][getCookie]  根据name读取Cookie
@@ -67,6 +71,7 @@ const OS = getOS()
6771
### Dom
6872
####   [getScrollTop][getScrollTop]  获取滚动条距顶部的距离
6973
####   [offset][offset]  获取一个元素的距离文档(document)的位置,类似jQ中的offset()
74+
####   [getText][getText]  获取标签内部的纯文本内容
7075
####   [scrollTo][scrollTo]  在${duration}时间内,滚动条平滑滚动到${to}指定位置
7176
####   [setScrollTop][setScrollTop]  设置滚动条距顶部的距离
7277

@@ -100,6 +105,7 @@ const OS = getOS()
100105
####
101106

102107
### Time
108+
####   [changeSecond][changeSecond]  将秒转换为h:m:s
103109
####   [formatPassTime][formatPassTime]  格式化${startTime}距现在的已过时间
104110
####   [formatRemainTime][formatRemainTime]  格式化现在距${endTime}的剩余时间
105111

@@ -111,20 +117,25 @@ const OS = getOS()
111117
####   [view3d][view3d]  点击鼠标拖动,查看3D效果
112118

113119
[arrayEqual]:https://github.com/Time-coding/webtools/blob/master/arrayEqual.js
120+
[getMax]:https://github.com/Time-coding/webtools/blob/master/getMax.js
121+
[getMin]:https://github.com/Time-coding/webtools/blob/master/getMin.js
114122

115123
[addClass]:https://github.com/Time-coding/webtools/blob/master/addClass.js
116124
[hasClass]:https://github.com/Time-coding/webtools/blob/master/hasClass.js
117125
[removeClass]:https://github.com/Time-coding/webtools/blob/master/removeClass.js
126+
[getByClass]:https://github.com/Time-coding/webtools/blob/master/getByClass.js
118127

119128
[getCookie]:https://github.com/Time-coding/webtools/blob/master/src/cookie/getCookie.js
120129
[removeCookie]:https://github.com/Time-coding/webtools/blob/master/src/cookie/removeCookie.js
121130
[setCookie]:https://github.com/Time-coding/webtools/blob/master/src/cookie/setCookie.js
131+
[setCookieDay]:https://github.com/Time-coding/webtools/blob/master/src/cookie/setCookieDay.js
122132

123133
[getExplore]:https://github.com/Time-coding/webtools/blob/master/src/device/getExplore.js
124134
[getOS]:https://github.com/Time-coding/webtools/blob/master/src/device/getOS.js
125135

126136
[getScrollTop]:https://github.com/Time-coding/webtools/blob/master/src/dom/getScrollTop.js
127137
[offset]:https://github.com/Time-coding/webtools/blob/master/src/dom/offset.js
138+
[getText]:https://github.com/Time-coding/webtools/blob/master/src/dom/getText.js
128139
[scrollTo]:https://github.com/Time-coding/webtools/blob/master/src/dom/scrollTo.js
129140
[setScrollTop]:https://github.com/Time-coding/webtools/blob/master/src/dom/setScrollTop.js
130141

@@ -149,6 +160,7 @@ const OS = getOS()
149160

150161
[isSupportWebP]:https://github.com/Time-coding/webtools/blob/master/src/support/isSupportWebP.js
151162

163+
[changeSecond]:https://github.com/Time-coding/webtools/blob/master/src/time/changeSecond.js
152164
[formatPassTime]:https://github.com/Time-coding/webtools/blob/master/src/time/formatPassTime.js
153165
[formatRemainTime]:https://github.com/Time-coding/webtools/blob/master/src/time/formatRemainTime.js
154166

min/webcommon.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)