{"issue":{"state":"closed","created_at":"2011-11-30T06:51:14Z","updated_at":"2011-11-30T13:28:35Z","comments":1,"user":{"gravatar_id":"8a02d1cab363b1defbd691558b704f20","id":233857,"url":"https://api.github.com/users/gyf19","avatar_url":"https://secure.gravatar.com/avatar/8a02d1cab363b1defbd691558b704f20?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"gyf19"},"body":"1.如何开发一个seajs的modules。\r\n2.如何把原有js 改造成一个 seajs的modules，如果有一个工具直接转换，就更好了。","assignee":null,"id":2398120,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":142,"title":"有没有如何开发一个seajs的modules文档。","closed_at":"2011-11-30T13:28:35Z","html_url":"https://github.com/seajs/seajs/issues/142","url":"https://api.github.com/repos/seajs/seajs/issues/142","milestone":{"state":"open","created_at":"2011-11-15T02:57:34Z","closed_issues":22,"due_on":"2011-11-30T08:00:00Z","creator":{"gravatar_id":"db33090541526c03c798f82aa0a5dbaa","id":97227,"url":"https://api.github.com/users/lifesinger","avatar_url":"https://secure.gravatar.com/avatar/db33090541526c03c798f82aa0a5dbaa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"lifesinger"},"number":6,"description":"","title":"v1.1.0","url":"https://api.github.com/repos/seajs/seajs/milestones/6","open_issues":1}},"action":"created","comment":{"created_at":"2011-11-30T13:28:34Z","updated_at":"2011-11-30T13:28:34Z","user":{"gravatar_id":"db33090541526c03c798f82aa0a5dbaa","id":97227,"url":"https://api.github.com/users/lifesinger","avatar_url":"https://secure.gravatar.com/avatar/db33090541526c03c798f82aa0a5dbaa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"lifesinger"},"body":"@gyf19:\r\n\r\n1. 开发 seajs 模块的文档，可以看这里：http://seajs.com/docs/zh-cn/  模块定义章节。\r\n1. 将原有 js 改造成 seajs 模块的方法，最简单的是使用 `spm transport`，看这里 https://github.com/seajs/spm 具体方式，根据模块的不同，会有不同。\r\n\r\n详细文档，会在接下来的《SeaJS从入门到精通》里提及。这次 Velocity 会议里，我也会提到一些。\r\n","id":2959632,"url":"https://api.github.com/repos/seajs/seajs/issues/comments/2959632"}}