PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

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

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