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