Refactoring snode #105

Closed
lifesinger opened this Issue Oct 25, 2011 · 1 comment

Projects

None yet

1 participant

@lifesinger
Member

将 snode 从 spm 里迁移回 seajs 中

test/runner-in-node.js
201110/snode.zip

博文:比较 SeaJS 和 NodeJS 在 module 规范上的差异

@lifesinger
Member

可以参考:

https://github.com/ajaxorg/node-amd-loader

最终 API 希望如下:

main.js:

require('seajs'); // extend node to support seajs module

var sth = require('./sth'); // all ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment