New issue

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

Refactoring snode #105

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

Comments

Projects
None yet
1 participant
@lifesinger
Member

lifesinger commented Oct 25, 2011

将 snode 从 spm 里迁移回 seajs 中

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

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

@lifesinger

This comment has been minimized.

Show comment
Hide comment
@lifesinger

lifesinger Nov 24, 2011

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
Member

lifesinger commented Nov 24, 2011

可以参考:

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