o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1354671203.755955: @value"E{I" class:EFI"BundledAsset;FI"logical_path;FI"teabag.js;FI" pathname;FI"F/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag.js;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-12-04T18:33:22-07:00;FI" length;Fi…I" digest;F"%d7ab6fd9991d919ae3b1ce1ed7965fb0I" source;FI"… // require_tree ./teabag window.Teabag = (function() { Teabag.defer = false; Teabag.executed = false; Teabag.fixturePath = ''; Teabag.setup = function() { if (window.mocha) mocha.setup('bdd'); }; Teabag.execute = function(fixturePath) { this.fixturePath = fixturePath; if (!this.defer && !this.executed) { this.executed = true; if (window.mocha) { mocha.run(); } else { this.jasmineEnv().execute(); } } this.defer = false; }; Teabag.jasmineEnv = function() { var jasmineEnv = jasmine.getEnv(); jasmineEnv.updateInterval = 1000; var jsApiReporter = new jasmine.JsApiReporter(); jasmineEnv.addReporter(jsApiReporter); this.addFixturePaths(jasmineEnv); this.addReporters(jasmineEnv); return jasmineEnv; }; Teabag.addReporters = function(jasmineEnv) { if (navigator.userAgent.match(/PhantomJS/)) { var trivialReporter = new jasmine.TrivialReporter(); jasmineEnv.addReporter(trivialReporter); var reporter = new jasmine.ConsoleReporter(); jasmineEnv.addReporter(reporter); } else { var reporter = new Teabag.HtmlReporter(); jasmineEnv.addReporter(reporter); jasmineEnv.specFilter = function(spec) { return reporter.specFilter(spec); }; } } Teabag.addFixturePaths = function(jasmineEnv) { if (!jasmine.getFixtures) return; jasmine.getFixtures().fixturesPath = this.fixturePath; jasmine.getStyleFixtures().fixturesPath = this.fixturePath; jasmine.getJSONFixtures().fixturesPath = this.fixturePath; }; function Teabag() {} return Teabag; })(); Teabag.setup(); ;FI"required_assets_digest;F"%6a086b71c9c1c4deb0875c6457e02727I" _version;F"%6776f581a4329e299531e1d52aa59832