Sha256: 35c5ede4c12de96c0efdda0908d1ba2c5d5e0fd23b3cabb1aa060e0b9885427d

Contents?: true

Size: 553 Bytes

Versions: 23

Compression:

Stored size: 553 Bytes

Contents

define(["jquery","underscore","backbone","model/monitor"],function(t,i,n,s){var e=n.Collection.extend({model:s,url:function(){return this.dashboardId?"/dashboards/"+this.dashboardId+"/jobs.json":"/jobs.json"},initialize:function(t,n){i.bindAll(this,"url"),this.dashboardId=n.dashboardId,this.cb=n.cb,this.fetch({success:function(t){this.cb&&this.cb(t)}.bind(this),async:!1})},filterById:function(t){var n=[];return i.each(t,function(t){i.isUndefined(this.get(t))||n.push(t)},this),this.reset(i.map(n,function(t){return this.get(t)},this))}});return e});

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rearview-1.2.3-jruby public/rearview/js/collection/monitor.js
rearview-1.2.2.rc.2-jruby public/rearview/js/collection/monitor.js
rearview-1.2.2.rc.1-jruby public/rearview/js/collection/monitor.js
rearview-1.2.1-jruby public/rearview/js/collection/monitor.js
rearview-1.2.0-jruby public/rearview/js/collection/monitor.js
rearview-1.1.2-jruby public/rearview/js/collection/monitor.js
rearview-1.1.1-jruby public/rearview/js/collection/monitor.js
rearview-1.1.0-jruby public/rearview/js/collection/monitor.js
rearview-1.0.3.rc.4-jruby public/rearview/js/collection/monitor.js
rearview-1.0.3.rc.3-jruby public/rearview/js/collection/monitor.js
rearview-1.0.3.rc.2-jruby public/rearview/js/collection/monitor.js
rearview-1.0.3.rc.1-jruby public/rearview/js/collection/monitor.js
rearview-1.0.2-jruby public/rearview/js/collection/monitor.js
rearview-1.0.2.rc.4-jruby public/rearview/js/collection/monitor.js
rearview-1.0.2.rc.3-jruby public/rearview/js/collection/monitor.js
rearview-1.0.2.rc.2-jruby public/rearview/js/collection/monitor.js
rearview-1.0.2.rc.1-jruby public/rearview/js/collection/monitor.js
rearview-1.0.1-jruby public/rearview/js/collection/monitor.js
rearview-1.0.0-jruby public/rearview/js/collection/monitor.js
rearview-1.0.0.rc5-jruby public/rearview/js/collection/monitor.js