rocket /_examples/common/rocket-2.0/rocket.collection.js

Language Javascript Lines 22
MD5 Hash f7f214fec3f40d3cd0bcc72aec1af4fa
Repository https://github.com/zhoumm1008/rocket.git View Raw File
| Open JSFiddle
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
/**
 * Collection类
 */
(function($) {

rocket.collection = Backbone.Collection.extend({
    initialize: function(models, options){
        // 页面事件中心
        // this.ec = this.getRoot();
    }

    // 获取页面控制器
    // ,getRoot: function(){
    //     return rocket.view.prototype.getRoot.apply(this, arguments);
    // }

});

})(Zepto);
Back to Top