PVCollection:快速而肮脏的 javascript 模型集合

时间:2021-06-14 12:48:08
【文件属性】:
文件名称:PVCollection:快速而肮脏的 javascript 模型集合
文件大小:37KB
文件格式:ZIP
更新时间:2021-06-14 12:48:08
JavaScript 聚氯乙烯 PVCollection 是一个模型/集合库,用于快速粗略的模型和带有事件的集合。 用法 创建一个新的 PVCollection 实例,并传递给它两个对象。 第一个是集合的选项,第二个是实例化集合中每个项目的基础模型。 var List = new PVCollection ( { // collection options name : 'Test list' , debug : true , template : JST [ 'test/templates/collection.hbs' ] , functions : { initialize : function ( _options ) { this . log ( [ 'user init init' ] , 'info' ) ; } } } , { // model options/t
【文件预览】:
PVCollection-master
----.gitignore(556B)
----package.json(850B)
----src()
--------PVCollection.js(30KB)
----Gruntfile.js(2KB)
----LICENSE(1KB)
----CHANGELOG.md(4KB)
----examples()
--------newsfeed_app.js(6KB)
--------basic_app.js(2KB)
--------basic_test.html(2KB)
--------newsfeed_test.html(3KB)
--------templates()
--------templates.js(6KB)
----README.md(1KB)
----.gitattributes(378B)
----docs()
--------PVCollection.js.html(58KB)
--------index.html(13KB)

网友评论