【文件属性】:
文件名称:url-dispatcher:像Backbone.Router这样的URL调度程序
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-14 21:12:06
JavaScript
网址分派器
URL调度程序。 它的灵感来自Backbone.Router。
安装
npm
npm install url-dispatcher --save
// import the module
var Dispatcher = require ( 'url-dispatcher' ) ;
凉亭
bower install url-dispatcher --save
< script src =" /path/to/script/dispatcher.min.js " > </ script >
<!-- Or, if you want use on IE8 -->
< script src =" /path/to/script/dispatcher.compat.min.js " > </ script >
手动地
git clone git@github.com:haribot
【文件预览】:
url-dispatcher-master
----package.json(2KB)
----dest()
--------dispatcher.compat.min.js(48KB)
--------dispatcher.min.js(22KB)
----test()
--------test.js(2KB)
----LICENSE(1KB)
----src()
--------compat.js(94B)
--------main.js(73B)
--------dispatcher.js(2KB)
----.gitignore(49B)
----lib()
--------dispatcher.js(4KB)
----karma.conf.js(2KB)
----README.md(2KB)
----bower.json(545B)
----.editorconfig(115B)