Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Apr 7, 2015
1 parent fc8954b commit b41119a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ fis server start
```javascript
// 修改 require.js
// 由于 fis 中生成的 module id 格式为 xxx:path 这种格式,被认为是 url 导致 require.js 会发请求
require.jsExtRegExp = /^\/|:\/\/|\?|\.js$/;
require.jsExtRegExp = /^\/|:\/\/|\?/;
```
2 changes: 1 addition & 1 deletion lib/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -2055,4 +2055,4 @@ var requirejs, require, define;

// 修改 require.js
// 由于 fis 中生成的 module id 格式为 xxx:path 这种格式,被认为是 url 导致 require.js 会发请求
require.jsExtRegExp = /^\/|:\/\/|\?|\.js$/;
require.jsExtRegExp = /^\/|:\/\/|\?/;

0 comments on commit b41119a

Please sign in to comment.