o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1355101400.644515: @value"{I" class:EFI"BundledAsset;FI"logical_path;FI"#teabag/reporters/mocha/html.js;FI" pathname;FI"_/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/reporters/mocha/html.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-12-09T18:02:31-07:00;FI" length;Fi. I" digest;F"%fb007f093402d1726c3444d59c95195dI" source;FI". (function() { var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __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; }; Teabag.Reporters.HTML = (function(_super) { __extends(HTML, _super); function HTML(runner) { this.reportSpecResults = __bind(this.reportSpecResults, this); HTML.__super__.constructor.apply(this, arguments); this.setFilter(Teabag.Reporters.HTML.filter); this.reportRunnerStarting(runner); runner.on("fail", this.reportSpecResults); runner.on("test end", this.reportSpecResults); runner.on("end", this.reportRunnerResults); } HTML.prototype.reportSpecResults = function(spec, err) { if (err) { spec.err = err; return; } this.reportSpecStarting(spec); return HTML.__super__.reportSpecResults.apply(this, arguments); }; HTML.prototype.resultForSpec = function(spec) { return { skipped: spec.state === "pending", passed: spec.state === "passed" }; }; HTML.prototype.envInfo = function() { return "mocha 1.7.3"; }; return HTML; })(Teabag.Reporters.HTML); Teabag.Reporters.HTML.FailureView = (function(_super) { __extends(FailureView, _super); function FailureView() { return FailureView.__super__.constructor.apply(this, arguments); } FailureView.prototype.fullName = function() { return this.spec.fullTitle(); }; FailureView.prototype.errors = function() { return [this.spec.err]; }; return FailureView; })(Teabag.Reporters.HTML.FailureView); Teabag.Reporters.HTML.SpecView = (function(_super) { __extends(SpecView, _super); function SpecView() { return SpecView.__super__.constructor.apply(this, arguments); } SpecView.prototype.fullName = function() { return this.spec.fullTitle(); }; SpecView.prototype.description = function() { return this.spec.title; }; SpecView.prototype.updateState = function(state, elapsed) { return SpecView.__super__.updateState.call(this, state, this.spec.duration); }; SpecView.prototype.parent = function() { return this.spec.parent; }; SpecView.prototype.passed = function() { return this.spec.state === "passed"; }; SpecView.prototype.errors = function() { return [this.spec.err]; }; return SpecView; })(Teabag.Reporters.HTML.SpecView); Teabag.Reporters.HTML.SuiteView = (function(_super) { __extends(SuiteView, _super); function SuiteView() { return SuiteView.__super__.constructor.apply(this, arguments); } SuiteView.prototype.parent = function() { if (!this.suite.parent.root) { return this.suite.parent; } else { return null; } }; SuiteView.prototype.description = function() { return this.suite.title; }; SuiteView.prototype.fullName = function() { return this.suite.fullTitle(); }; return SuiteView; })(Teabag.Reporters.HTML.SuiteView); }).call(this); ;FI"required_assets_digest;F"%3ba5c01538ebb885ef4024a1a0b35d76I" _version;F"%6776f581a4329e299531e1d52aa59832