o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1358449150.60284: @value"Ÿ{I" class:EFI"BundledAsset;FI"logical_path;FI",teabag/base/reporters/html/base_view.js;FI" pathname;FI"h/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/base/reporters/html/base_view.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-01-01T20:12:03-07:00;FI" length;FiŸI" digest;F"%ec7bd5e2a530d7fcd19a7969c4fc1d0dI" source;FI"Ÿ(function() { Teabag.Reporters.BaseView = (function() { function BaseView() { this.elements = {}; this.build(); } BaseView.prototype.build = function(className) { return this.el = this.createEl("li", className); }; BaseView.prototype.appendTo = function(el) { return el.appendChild(this.el); }; BaseView.prototype.append = function(el) { return this.el.appendChild(el); }; BaseView.prototype.createEl = function(type, className) { var el; if (className == null) { className = ""; } el = document.createElement(type); el.className = className; return el; }; BaseView.prototype.findEl = function(id) { var _base; this.elements || (this.elements = {}); return (_base = this.elements)[id] || (_base[id] = document.getElementById("teabag-" + id)); }; BaseView.prototype.setText = function(id, value) { var el; el = this.findEl(id); return el.innerHTML = value; }; BaseView.prototype.setHtml = function(id, value, add) { var el; if (add == null) { add = false; } el = this.findEl(id); if (add) { return el.innerHTML += value; } else { return el.innerHTML = value; } }; BaseView.prototype.setClass = function(id, value) { var el; el = this.findEl(id); return el.className = value; }; BaseView.prototype.htmlSafe = function(str) { var el; el = document.createElement("div"); el.appendChild(document.createTextNode(str)); return el.innerHTML; }; return BaseView; })(); }).call(this); ;FI"required_assets_digest;F"%a80be21de36850f280bb66e14504816fI" _version;F"%ffd318ca8b794f42f5029101c2cf5d91