rocket /_examples/common/webapp-0.1/rocket.collection.js

Language Javascript Lines 22
MD5 Hash de97595cd88f6c8677e165c13f608d9e
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($) {

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

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

});

})(Zepto);
Back to Top