Skip to content

Commit 0e8f75b

Browse files
author
bajins
committed
update
1 parent dbd3b32 commit 0e8f75b

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

static/js/utils/array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ const randomSplit = function (total, nums, max) {
231231

232232
/**
233233
* export default 服从 ES6 的规范,补充:default 其实是别名
234-
* module.exports 服从CommonJS 规范
234+
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
235235
* 一般导出一个属性或者对象用 export default
236236
* 一般导出模块或者说文件使用 module.exports
237237
*

static/js/utils/color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const isColor = function (value) {
101101

102102
/**
103103
* export default 服从 ES6 的规范,补充:default 其实是别名
104-
* module.exports 服从CommonJS 规范
104+
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
105105
* 一般导出一个属性或者对象用 export default
106106
* 一般导出模块或者说文件使用 module.exports
107107
*

static/js/utils/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ const download = (url, params) => {
292292

293293
/**
294294
* export default 服从 ES6 的规范,补充:default 其实是别名
295-
* module.exports 服从CommonJS 规范
295+
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
296296
* 一般导出一个属性或者对象用 export default
297297
* 一般导出模块或者说文件使用 module.exports
298298
*

static/js/utils/log.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const trace = (...log) => {
117117

118118
/**
119119
* export default 服从 ES6 的规范,补充:default 其实是别名
120-
* module.exports 服从CommonJS 规范
120+
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
121121
* 一般导出一个属性或者对象用 export default
122122
* 一般导出模块或者说文件使用 module.exports
123123
*

static/js/utils/string.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const formatNumber = (n) => {
5959

6060
/**
6161
* export default 服从 ES6 的规范,补充:default 其实是别名
62-
* module.exports 服从CommonJS 规范
62+
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
6363
* 一般导出一个属性或者对象用 export default
6464
* 一般导出模块或者说文件使用 module.exports
6565
*

static/js/utils/time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const dateFormat = (date, fmt) => {
180180

181181
/**
182182
* export default 服从 ES6 的规范,补充:default 其实是别名
183-
* module.exports 服从CommonJS 规范
183+
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
184184
* 一般导出一个属性或者对象用 export default
185185
* 一般导出模块或者说文件使用 module.exports
186186
*

static/js/utils/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ const isEmpty = (obj) => {
321321

322322
/**
323323
* export default 服从 ES6 的规范,补充:default 其实是别名
324-
* module.exports 服从CommonJS 规范
324+
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
325325
* 一般导出一个属性或者对象用 export default
326326
* 一般导出模块或者说文件使用 module.exports
327327
*

0 commit comments

Comments
 (0)