mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
- invalid_float 메시지 추가
- 파일 용량 설정의 룰셋 추가 수정 - XML Filter에서 float를 처리할 수 있도록 룰세 추가
This commit is contained in:
parent
46278a886b
commit
61c54504ef
9 changed files with 14 additions and 5 deletions
|
|
@ -51,6 +51,10 @@
|
|||
// number
|
||||
var regNum = /^[0-9]*$/;
|
||||
this.cast('ADD_RULE', ['number', regNum]);
|
||||
|
||||
// float
|
||||
var regFloat = /^\d+(\.\d+)?$/;
|
||||
this.cast('ADD_RULE', ['float', regFloat]);
|
||||
// }}} add filters
|
||||
},
|
||||
// run validator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue