使用 TypeScript 编写的一些有趣的算法实验。
线上地址:http://lib.ursb.me
安装
git clone https://github.com/airingursb/algorithm-lab.git
cd algorithm-lab
npm install
node app/bin/www.js --harmony
Then open Browser at 'http://localhost:3000'
修改算法代码
Step 1. 编译 TypeScript
tsc
Step 2. 打包 js 文件
需要先安装 browserify
npm install -g browserify
再进入对应的算法输出目录,打包代码
browserify main.js -o bundle.js
Screenshots
本文由 Airing 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Dec 8, 2018 at 02:44 am
why are you so cool
同学你好,请你来我办公室一下
最近这个理论很火,贫富差距