Skip to content

Commit bcfdbdd

Browse files
committed
add
1 parent f131ccc commit bcfdbdd

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ A lightweight vanilla JavaScript library for judging.https://tonicdev.com/trigki
1010

1111
- 没有任何依赖
1212
- 支持 `AMD` & `CommonJS`
13+
- 支持typescript
1314
- 轻量级(10kb)
1415

1516

@@ -36,4 +37,4 @@ $ yarn add judgejs
3637
$ bower install judgejs
3738
```
3839

39-
>Links: https://hawx1993.github.io/judge/#/
40+
#### API: https://hawx1993.github.io/judge/#/

lib/judge.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "judgejs",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A lightweight vanilla JavaScript library for judging",
55
"main": "lib/judge.min.js",
66
"typings": "types/index.d.ts",

types/judge.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@ export interface FnType {
7070
strLength(str): number,
7171
isLeapYear(year): boolean,
7272
isDate(val): boolean,
73-
isUrl(str): boolean
73+
isUrl(str): boolean,
74+
isNumberic(num): boolean
7475
}

0 commit comments

Comments
 (0)