Sha256: 1f5301b0375ff66e3c56bef7d776656b95065d654091bbe7c56d64a3c000d1ee

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1359271350.459452:@value"•{I"
class:EFI"BundledAsset;FI"logical_path;FI"teabag/base/runner.js;FI"
pathname;FI"V/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/base/runner.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2013-01-21T15:52:04-07:00;FI"length;Fi¹I"digest;F"%1f11e69643387a65e176de5a0f6000c5I"source;FI"¹(function() {

  Teabag.Runner = (function() {

    Runner.run = false;

    function Runner() {
      if (this.constructor.run) {
        return;
      }
      this.constructor.run = true;
      this.fixturePath = "" + Teabag.root + "/fixtures";
      this.params = Teabag.params = this.getParams();
      this.setup();
    }

    Runner.prototype.getParams = function() {
      var name, param, params, value, _i, _len, _ref, _ref1;
      params = {};
      _ref = Teabag.location.search.substring(1).split("&");
      for (_i = 0, _len = _ref.length; _i < _len; _i++) {
        param = _ref[_i];
        _ref1 = param.split("="), name = _ref1[0], value = _ref1[1];
        params[decodeURIComponent(name)] = decodeURIComponent(value);
      }
      return params;
    };

    Runner.prototype.getReporter = function() {
      if (this.params["reporter"]) {
        return Teabag.Reporters[this.params["reporter"]];
      } else {
        if (window.navigator.userAgent.match(/PhantomJS/)) {
          return Teabag.Reporters.Console;
        } else {
          return Teabag.Reporters.HTML;
        }
      }
    };

    Runner.prototype.setup = function() {};

    return Runner;

  })();

}).call(this);
;FI"required_assets_digest;F"%11f01ef28f50a295306f3a3bfcde45b7I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teabag-0.5.4 spec/dummy/tmp/cache/assets/DE4/140/sprockets%2F139e4ab85d1aacb22c115fa136afdc8a