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
define('自身模块id',['依赖模块数组'],function(require,exports,module)){ var kk=require('依赖模块'); ...... //问题是上面define里面不是已经有依赖模块了么,为什么我看我的项目js里面在里面又声明了一个依赖 //这个kk变量的依赖和上面有什么不同 })
seajs.config({ map: [ [ '.js', '-debug.js' ] ] }); 什么意思呢?
The text was updated successfully, but these errors were encountered:
@xiaofeiVSkk 看下源码分析,深入理解一下 seajs 的模块方案。here
Sorry, something went wrong.
No branches or pull requests
define('自身模块id',['依赖模块数组'],function(require,exports,module)){
var kk=require('依赖模块');
......
//问题是上面define里面不是已经有依赖模块了么,为什么我看我的项目js里面在里面又声明了一个依赖
//这个kk变量的依赖和上面有什么不同
})
seajs.config({
map: [
[ '.js', '-debug.js' ]
]
});
什么意思呢?
The text was updated successfully, but these errors were encountered: