/_examples/common/webapp-0.1/rocket.collection.js
JavaScript | 21 lines | 6 code | 6 blank | 9 comment | 0 complexity | de97595cd88f6c8677e165c13f608d9e MD5 | raw file
- /**
- * 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);