o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1371410624.453866: @value" {I" class:EFI"ProcessedAsset;FI"logical_path;FI"/teaspoon/base/reporters/html/suite_view.js;FI" pathname;FI"m/Users/jejacks0n/Projects/teaspoon/app/assets/javascripts/teaspoon/base/reporters/html/suite_view.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-06-16T11:48:01-06:00;FI" length;FišI" digest;F"%9951c0169528d40297d74a0b6608c2ffI" source;FI"š(function() { var __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; Teaspoon.Reporters.HTML.SuiteView = (function(_super) { var viewId; __extends(SuiteView, _super); viewId = 0; function SuiteView(suite, reporter) { this.suite = suite; this.reporter = reporter; this.views = this.reporter.views; this.suite.viewId = viewId += 1; this.views.suites[this.suite.viewId] = this; this.suite = new Teaspoon.Suite(suite); SuiteView.__super__.constructor.apply(this, arguments); } SuiteView.prototype.build = function() { SuiteView.__super__.build.call(this, "suite"); this.el.innerHTML = "

" + this.suite.description + "

"; this.parentView = this.buildParent(); return this.parentView.append(this.el); }; SuiteView.prototype.buildParent = function() { var parent, view; parent = this.suite.parent; if (!parent) { return this.reporter; } if (parent.viewId) { return this.views.suites[parent.viewId]; } else { view = new Teaspoon.Reporters.HTML.SuiteView(parent, this.reporter); return this.views.suites[view.suite.viewId] = view; } }; SuiteView.prototype.append = function(el) { if (!this.ol) { SuiteView.__super__.append.call(this, this.ol = this.createEl("ol")); } return this.ol.appendChild(el); }; SuiteView.prototype.updateState = function(state) { var _base; if (this.state === "failed") { return; } this.el.className = "" + (this.el.className.replace(/\s?state-\w+/, "")) + " state-" + state; if (typeof (_base = this.parentView).updateState === "function") { _base.updateState(state); } return this.state = state; }; return SuiteView; })(Teaspoon.Reporters.BaseView); }).call(this); ;TI"dependency_digest;F"%0ecddbb0579b6eee0f60634e8cd817f8I"required_paths;F[I"m/Users/jejacks0n/Projects/teaspoon/app/assets/javascripts/teaspoon/base/reporters/html/suite_view.coffee;FI"dependency_paths;F[{I" path;FI"m/Users/jejacks0n/Projects/teaspoon/app/assets/javascripts/teaspoon/base/reporters/html/suite_view.coffee;FI" mtime;FI"2013-06-16T11:48:01-06:00;FI" digest;F"%2b1f5ae2230f4ee19ad3fb7a37e5cbfcI" _version;F"%6776f581a4329e299531e1d52aa59832