Sha256: 5d0c1b9801a21c3844b51c556a80dc8f89311d5bd8225a7862e6ec81ebdc15a5
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356308932.3899992:@value"y{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"2012-12-23T17:27:29-07:00;FI"length;Fi�I"digest;F"%4338831d09dcefa8a21c07cf35d711d0I"source;FI"�(function() { Teabag.Runner = (function() { Runner.run = false; function Runner() { if (this.constructor.run) { return; } this.constructor.run = true; this.fixturePath = Teabag.fixturePath; this.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"%f986d6a0f6c0ac5af5aa8a47f0d93b31I" _version;F"%6776f581a4329e299531e1d52aa59832
Version data entries
2 entries across 2 versions & 1 rubygems