o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1357715672.3854778:@value"
{I"
class:EFI"ProcessedAsset;�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"%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);
;�TI"dependency_digest;�F"%3f73e68fb5277c9e07d115ab7f6bc7e7I"required_paths;�F[I"h/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/base/reporters/html/base_view.coffee;�FI"dependency_paths;�F[{I"	path;�FI"h/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/base/reporters/html/base_view.coffee;�FI"
mtime;�FI"2013-01-01T20:12:03-07:00;�FI"digest;�F"%6044e074812a7e19861a7a2675151888I"
_version;�F"%6776f581a4329e299531e1d52aa59832