Skip to content

Commit

Permalink
思考计划: 删除部分函数
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbimo committed Sep 16, 2024
1 parent a74271d commit d25943e
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 244 deletions.
96 changes: 0 additions & 96 deletions lib/number/convertUnits.js

This file was deleted.

44 changes: 0 additions & 44 deletions lib/number/convertUnits.test.js

This file was deleted.

27 changes: 0 additions & 27 deletions lib/number/random.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/number/random.test.js

This file was deleted.

10 changes: 5 additions & 5 deletions lib/number/toBits.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* 将数字转为32位 bit 数组
* @author 无名
* @category number
* @alias yd_number_toBits
* @param {Number} num
* @param {Number} [length] 比特数组长度 默认`32`位
* @returns 返回对应位数的比特
* @category number
* @param {number} num 数字
* @param {number} [length] 比特数组长度 默认`32`位
* @returns {Array} 返回对应位数的比特
* @author 无名
* @example {[0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1, 0|1]}
*/
export default (num, length = 32) => {
Expand Down
22 changes: 0 additions & 22 deletions lib/url/valid.js

This file was deleted.

34 changes: 0 additions & 34 deletions lib/url/valid.test.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yidash",
"type": "module",
"version": "1.7.2",
"version": "1.8.0",
"private": false,
"license": "MIT",
"description": "yidash(易大师)一万个JavaScript实用方法库",
Expand Down

0 comments on commit d25943e

Please sign in to comment.