o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1360902199.674512: @value"ß{I" class:EFI"BundledAsset;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-01-21T15:52:04-07:00;FI" length;FiñI" digest;F"%6e950d3fc42be9bf0c385039bc017a90I" 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(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.10.0"; }; return HTML; })(Teabag.Reporters.HTML); Teabag.Reporters.HTML.SpecView = (function(_super) { __extends(SpecView, _super); function SpecView() { return SpecView.__super__.constructor.apply(this, arguments); } SpecView.prototype.buildErrors = function() { var div, error, html, _i, _len, _ref; div = this.createEl("div"); html = ""; _ref = this.spec.errors(); for (_i = 0, _len = _ref.length; _i < _len; _i++) { error = _ref[_i]; html += "" + error.message + "
" + (this.htmlSafe(error.stack || "Stack trace unavailable")) + "
"; } 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() { return FailureView.__super__.constructor.apply(this, arguments); } FailureView.prototype.build = function() { var error, html, _i, _len, _ref; FailureView.__super__.build.call(this, "spec"); html = "

" + this.spec.fullDescription + "

"; _ref = this.spec.errors(); for (_i = 0, _len = _ref.length; _i < _len; _i++) { error = _ref[_i]; html += "
" + error.message + "
" + (this.htmlSafe(error.stack || "Stack trace unavailable")) + "
"; } 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); ;FI"required_assets_digest;F"%bcd22066fcce804f8266f43dc1aab68bI" _version;F"%6776f581a4329e299531e1d52aa59832