Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bajins committed Aug 27, 2020
1 parent dbd3b32 commit 0e8f75b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion static/js/utils/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ const randomSplit = function (total, nums, max) {

/**
* export default 服从 ES6 的规范,补充:default 其实是别名
* module.exports 服从CommonJS 规范
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
* 一般导出一个属性或者对象用 export default
* 一般导出模块或者说文件使用 module.exports
*
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const isColor = function (value) {

/**
* export default 服从 ES6 的规范,补充:default 其实是别名
* module.exports 服从CommonJS 规范
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
* 一般导出一个属性或者对象用 export default
* 一般导出模块或者说文件使用 module.exports
*
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ const download = (url, params) => {

/**
* export default 服从 ES6 的规范,补充:default 其实是别名
* module.exports 服从CommonJS 规范
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
* 一般导出一个属性或者对象用 export default
* 一般导出模块或者说文件使用 module.exports
*
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const trace = (...log) => {

/**
* export default 服从 ES6 的规范,补充:default 其实是别名
* module.exports 服从CommonJS 规范
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
* 一般导出一个属性或者对象用 export default
* 一般导出模块或者说文件使用 module.exports
*
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const formatNumber = (n) => {

/**
* export default 服从 ES6 的规范,补充:default 其实是别名
* module.exports 服从CommonJS 规范
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
* 一般导出一个属性或者对象用 export default
* 一般导出模块或者说文件使用 module.exports
*
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const dateFormat = (date, fmt) => {

/**
* export default 服从 ES6 的规范,补充:default 其实是别名
* module.exports 服从CommonJS 规范
* module.exports 服从 CommonJS 规范 https://javascript.ruanyifeng.com/nodejs/module.html
* 一般导出一个属性或者对象用 export default
* 一般导出模块或者说文件使用 module.exports
*
Expand Down
2 changes: 1 addition & 1 deletion static/js/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const isEmpty = (obj) => {

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

0 comments on commit 0e8f75b

Please sign in to comment.