{I" class:EFI"ProcessedAsset; FI"logical_path; FI"$teaspoon/base/reporters/html.js; FI" pathname; FI"b/Users/jejacks0n/Projects/teaspoon/app/assets/javascripts/teaspoon/base/reporters/html.coffee; FI"content_type; FI"application/javascript; FI" mtime; Fl+Qú½QI"length; FiìI"digest; F"%828849fb40604368852c458584484bb5I"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; }; Teaspoon.Reporters.HTML = (function(_super) { __extends(HTML, _super); function HTML() { this.toggleConfig = __bind(this.toggleConfig, this); this.reportRunnerResults = __bind(this.reportRunnerResults, this); this.start = new Teaspoon.Date().getTime(); this.config = { "use-catch": true, "build-full-report": false, "display-progress": true }; this.total = { exist: 0, run: 0, passes: 0, failures: 0, skipped: 0 }; this.views = { specs: {}, suites: {} }; this.filters = []; this.setFilters(); this.readConfig(); HTML.__super__.constructor.apply(this, arguments); } HTML.prototype.build = function() { var _ref; this.buildLayout(); this.setText("env-info", this.envInfo()); this.setText("version", Teaspoon.version); this.findEl("toggles").onclick = this.toggleConfig; this.findEl("suites").innerHTML = this.buildSuiteSelect(); if ((_ref = this.findEl("suite-select")) != null) { _ref.onchange = this.changeSuite; } this.findEl("root-link").href = Teaspoon.root; this.el = this.findEl("report-all"); this.showConfiguration(); this.buildProgress(); return this.buildFilters(); }; HTML.prototype.buildLayout = function() { var el; el = this.createEl("div"); el.id = "teaspoon-interface"; el.innerHTML = Teaspoon.Reporters.HTML.template; return document.body.appendChild(el); }; HTML.prototype.buildSuiteSelect = function() { var options, suite, _i, _len, _ref; if (Teaspoon.suites.all.length === 1) { return ""; } options = []; _ref = Teaspoon.suites.all; for (_i = 0, _len = _ref.length; _i < _len; _i++) { suite = _ref[_i]; options.push(""); } return ""; }; HTML.prototype.buildProgress = function() { this.progress = Teaspoon.Reporters.HTML.ProgressView.create(this.config["display-progress"]); return this.progress.appendTo(this.findEl("progress")); }; HTML.prototype.buildFilters = function() { if (this.filters.length) { this.setClass("filter", "teaspoon-filtered"); } return this.setHtml("filter-list", "