摘要:
[来自: Backbone.js 开发秘笈 第2章]Model API:(function ($) { //define Model Class ------------------- var ModelClass = Backbone.Model.extend({ def... 阅读全文
posted @ 2014-08-05 22:11
MSchina
阅读(328)
评论(0)
推荐(0)
|
摘要:
[来自: Backbone.js 开发秘笈 第2章]Model API:(function ($) { //define Model Class ------------------- var ModelClass = Backbone.Model.extend({ def... 阅读全文
posted @ 2014-08-05 22:11
MSchina
阅读(328)
评论(0)
推荐(0)
摘要:
[来自: Backbone.js 开发秘笈 第1章]各种模型实际上是通过扩展其基类 Backbone.Model 实现的。同理,定义的集合是靠扩展其基类 Backbone.Collection 而实现的。控制器的功能被分散实现在 Backbone.Router 和 Backbone.View 当中。... 阅读全文
posted @ 2014-08-05 22:10
MSchina
阅读(139)
评论(0)
推荐(0)
|