【文件属性】:
文件名称:fluxstore:另一个助焊剂商店
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-16 20:31:15
JavaScript
助焊剂
另一个面向客户端和服务器端的商店。
安装
Node.js
npm install fluxstore
凉亭
bower install fluxstore
用法
var FluxStore = require ( 'fluxstore' ) ; // Node.js.
// For browser script tag: include the file from the dist/ folder.
// Init FluxStore with the dispatcher. It returns Store constructor.
var dispatcher = new require ( 'flux' ) . Dispatcher ( ) ;
var Store = FluxStore ( dispatcher ) ;
// Create a new store
【文件预览】:
fluxstore-master
----.gitignore(526B)
----package.json(953B)
----.travis.yml(35B)
----dist()
--------fluxstore.js(55KB)
----LICENSE(1KB)
----index.js(4KB)
----CHANGELOG.md(38B)
----test.js(4KB)
----README.md(2KB)
----bower.json(482B)
----docs()
--------index.md(2KB)
----.editorconfig(336B)