Sha256: afe814892bc4ba2e43c39d1b0c7ba4221881c8e055b8e477f925d20989914e6b
Contents?: true
Size: 513 Bytes
Versions: 4
Compression:
Stored size: 513 Bytes
Contents
pageflow.stageProvider = { initialize: function() { this.stages = new Backbone.Collection(_.chain(this).result('stageMapping').pairs().map(function (pair) { var name = pair[0]; var options = pair[1]; options.file = this; return new pageflow.FileStage({name: name}, options); }, this).value()); }, currentStage: function() { return this.stages.find(function(stage) { return stage.get('active') || stage.get('action_required') || stage.get('failed'); }); } };
Version data entries
4 entries across 4 versions & 1 rubygems