Sitelet https://github.com/seajs/seajs/issues/1735#top
Skip to content

新手学习seajs问下问题 #1735

Description

@xiaofeiVSkk

define('自身模块id',['依赖模块数组'],function(require,exports,module)){
var kk=require('依赖模块');
......
//问题是上面define里面不是已经有依赖模块了么,为什么我看我的项目js里面在里面又声明了一个依赖
//这个kk变量的依赖和上面有什么不同
})

seajs.config({
map: [
[ '.js', '-debug.js' ]
]
});
什么意思呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions