Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b03067 commit 15fd49fCopy full SHA for 15fd49f
src/document.js
@@ -45,6 +45,7 @@
45
return result;
46
}
47
48
+ // 分解@docuemnt规则,按逗号拆分,解析规则
49
function _document(strRules) {
50
return strRules.split(/\s*,\s*(?=[\w\-]+\()/).some(function(rule) {
51
rule = rule.match(/(.+)\(\s*(.+)\s*\)/);
0 commit comments