We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 amd.js 中定义的 rDefine 存在匹配问题:
var rDefine = /('.*?'|".*?"|[^\\]\/\/[^\r\n\f]*|\/\*[\s\S]*?\*\/)|((?:^|[^\.])\bdefine\s*\()/ig;
如错误的匹配 test:
rDefine.test('define: function define(rules) {') // true
一个出了问题的文件:
https://github.com/yiminghe/async-validator/blob/master/src/index.js#L32
经过 babel 编译后,对应位置的代码就为上面测试的格式了
node_modules/async-validator/lib/index.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在 amd.js 中定义的 rDefine 存在匹配问题:
如错误的匹配 test:
一个出了问题的文件:
https://github.com/yiminghe/async-validator/blob/master/src/index.js#L32
经过 babel 编译后,对应位置的代码就为上面测试的格式了
The text was updated successfully, but these errors were encountered: