Skip to content

* 调整结构,增加 NodeJS 支持,增加 npm 支持 #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

* 调整结构,增加 NodeJS 支持,增加 npm 支持 #4

wants to merge 1 commit into from

Conversation

xuqingkuang
Copy link

几个改动

  1. 调整了代码结构,用七牛提供的静态文件云存储替换了本地的库。
  2. 增加了 NodeJS 的运行支持,NodeJS 中没有 Window 对象,直接声明函数无法使用,需要使用 module.exports 导出方法。
  3. 增加 package.json 文件,这样可以导出到 npm 中,直接用 npm install 安装。(我还等着您 publish 到 npm 呢)
  4. 增加了 test.js 简单测试了一下 NodeJS 的功能,未来会找个单元测试工具重写。
  5. 顺手升级了个版本号。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant