Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 15fd49f

Browse files
author
Ridge
committed
添加注释
1 parent 2b03067 commit 15fd49f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/document.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
return result;
4646
}
4747

48+
// 分解@docuemnt规则,按逗号拆分,解析规则
4849
function _document(strRules) {
4950
return strRules.split(/\s*,\s*(?=[\w\-]+\()/).some(function(rule) {
5051
rule = rule.match(/(.+)\(\s*(.+)\s*\)/);

0 commit comments

Comments
 (0)