o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1365878954.085941:@value"t{I" class:EFI"ProcessedAsset;�FI"logical_path;�FI"#teabag/qunit/reporters/html.js;�FI" pathname;�FI"_/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/qunit/reporters/html.coffee;�FI"content_type;�FI"application/javascript;�FI" mtime;�FI"2013-04-13T12:44:53-06:00;�FI"length;�Fi/I"digest;�F"%2dc23e47e7936166af91a70eeed728c2I"source;�FI"/(function() { var _ref, _ref1, __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(env) { this.reportRunnerResults = __bind(this.reportRunnerResults, this); this.reportSpecResults = __bind(this.reportSpecResults, this); HTML.__super__.constructor.apply(this, arguments); env.log(this.reportSpecResults); env.testDone(this.reportSpecResults); env.done(this.reportRunnerResults); this.currentAssertions = []; this.reportRunnerStarting(); } HTML.prototype.reportRunnerStarting = function() { this.total.exist = null; return this.setText("stats-duration", "..."); }; HTML.prototype.reportSpecResults = function(spec) { if (typeof spec.total !== "number") { this.currentAssertions.push(spec); return; } spec.assertions = this.currentAssertions; this.currentAssertions = []; this.reportSpecStarting(spec); return HTML.__super__.reportSpecResults.call(this, spec); }; HTML.prototype.reportRunnerResults = function(result) { this.total.exist = this.total.run = result.total; return HTML.__super__.reportRunnerResults.apply(this, arguments); }; HTML.prototype.readConfig = function() { HTML.__super__.readConfig.apply(this, arguments); return QUnit.config.notrycatch = this.config["use-catch"]; }; HTML.prototype.envInfo = function() { return "qunit 1.11.0"; }; return HTML; })(Teabag.Reporters.HTML); Teabag.Reporters.HTML.SpecView = (function(_super) { __extends(SpecView, _super); function SpecView() { _ref = SpecView.__super__.constructor.apply(this, arguments); return _ref; } SpecView.prototype.buildErrors = function() { var div, error, html, _i, _len, _ref1; div = this.createEl("div"); html = ""; _ref1 = this.spec.errors(); for (_i = 0, _len = _ref1.length; _i < _len; _i++) { error = _ref1[_i]; html += "<strong>" + error.message + "</strong><br/>" + (this.htmlSafe(error.stack || "Stack trace unavailable")) + "<br/>"; } div.innerHTML = html; return this.append(div); }; SpecView.prototype.buildParent = function() { var parent, view; parent = this.spec.parent; if (!parent) { return this.reporter; } if (this.views.suites[parent.description]) { return this.views.suites[parent.description]; } else { view = new Teabag.Reporters.HTML.SuiteView(parent, this.reporter); return this.views.suites[parent.description] = view; } }; return SpecView; })(Teabag.Reporters.HTML.SpecView); Teabag.Reporters.HTML.FailureView = (function(_super) { __extends(FailureView, _super); function FailureView() { _ref1 = FailureView.__super__.constructor.apply(this, arguments); return _ref1; } FailureView.prototype.build = function() { var error, html, _i, _len, _ref2; FailureView.__super__.build.call(this, "spec"); html = "<h1 class=\"teabag-clearfix\"><a href=\"" + this.spec.link + "\">" + this.spec.fullDescription + "</a></h1>"; _ref2 = this.spec.errors(); for (_i = 0, _len = _ref2.length; _i < _len; _i++) { error = _ref2[_i]; html += "<div><strong>" + error.message + "</strong><br/>" + (this.htmlSafe(error.stack || "Stack trace unavailable")) + "</div>"; } return this.el.innerHTML = html; }; return FailureView; })(Teabag.Reporters.HTML.FailureView); Teabag.Reporters.HTML.SuiteView = (function(_super) { __extends(SuiteView, _super); function SuiteView(suite, reporter) { this.suite = suite; this.reporter = reporter; this.views = this.reporter.views; this.views.suites[this.suite.description] = this; this.build(); } return SuiteView; })(Teabag.Reporters.HTML.SuiteView); }).call(this); ;�TI"dependency_digest;�F"%6a9ef2a4b5d2666fa59134f6200f0453I"required_paths;�F[I"_/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/qunit/reporters/html.coffee;�FI"dependency_paths;�F[{I" path;�FI"_/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/qunit/reporters/html.coffee;�FI" mtime;�FI"2013-04-13T12:44:53-06:00;�FI"digest;�F"%85621ee1bcbe02f9cf712558e3fde831I" _version;�F"%6776f581a4329e299531e1d52aa59832