PageRenderTime 53ms CodeModel.GetById 29ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://github.com/zhoumm1008/rocket
JavaScript | 21 lines | 6 code | 6 blank | 9 comment | 0 complexity | f7f214fec3f40d3cd0bcc72aec1af4fa MD5 | raw file
  1. /**
  2. * Collection类
  3. */
  4. (function($) {
  5. rocket.collection = Backbone.Collection.extend({
  6. initialize: function(models, options){
  7. // 页面事件中心
  8. // this.ec = this.getRoot();
  9. }
  10. // 获取页面控制器
  11. // ,getRoot: function(){
  12. // return rocket.view.prototype.getRoot.apply(this, arguments);
  13. // }
  14. });
  15. })(Zepto);