Public
Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md
Tiny Browser Require
A tiny, simple CommonJS require() implemetation in browser-side, only 30+ lines.
Usage
First put require.js on your page.
<script src="https://stargazers.cn/raw/ruanyf/tiny-browser-require/master/require.js" />Then use require.register to register your module.
require.register("browser/debug.js", function(module, exports, require){
// Module code goes here
});Now you can use require function to load the module.
var debug = require("browser/debug.js");License
MIT