Sha256: 69d08b6b3b4c53dd53d02f62d501b77793421dda12798e74af236be5ee71ab3a
Contents?: true
Size: 471 Bytes
Versions: 6
Compression:
Stored size: 471 Bytes
Contents
pageflow.stageProvider = { initialize: function() { this.stages = new Backbone.Collection(_.chain(this.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('failed'); }); } };
Version data entries
6 entries across 6 versions & 1 rubygems