o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1365130833.272591: @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-21T15:52:04-07:00;FI" length;FiŸI" digest;F"%f428411f8f538a02d21a307e4146354fI" 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"%3f73e68fb5277c9e07d115ab7f6bc7e7I" _version;F"%6776f581a4329e299531e1d52aa59832