spec/dummy/tmp/cache/assets/C91/FA0/sprockets%2F2eb81283f5789ae91a69344552db3856 in teabag-0.5.3 vs spec/dummy/tmp/cache/assets/C91/FA0/sprockets%2F2eb81283f5789ae91a69344552db3856 in teabag-0.5.4

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1359171526.099259: @value"ýz{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1359271350.45628: @value"A~{I" class:EFI"BundledAsset;FI"logical_path;FI"teabag/base/teabag.js;FI" pathname;FI"V/Users/jejacks0n/Projects/teabag/app/assets/javascripts/teabag/base/teabag.coffee;FI"content_type;FI"application/javascript;FI" -mtime;FI"2013-01-21T15:52:04-07:00;FI" length;Fi!yI" digest;F"%8829d462b1f2851da006aab233cf918eI" source;FI"!y(function() { +mtime;FI"2013-01-27T00:18:39-07:00;FI" length;Fie|I" digest;F"%c54fe6f9bd89c32d1b1565243325e339I" source;FI"e|(function() { this.Teabag = (function() { function Teabag() {} @@ -33,10 +33,36 @@ } this.started = true; return new Teabag.Runner(); }; + Teabag.resolveDependenciesFromParams = function(all) { + var dep, deps, file, parts, path, paths, _i, _j, _len, _len1; + if (all == null) { + all = []; + } + deps = []; + if ((paths = window.location.search.match(/[\?&]file(\[\])?=[^&\?]*/gi)) === null) { + return all; + } + for (_i = 0, _len = paths.length; _i < _len; _i++) { + path = paths[_i]; + parts = decodeURIComponent(path.replace(/\+/g, " ")).match(/\/(.+)\.(js|js.coffee|coffee)$/i); + if (parts === null) { + continue; + } + file = parts[1].substr(parts[1].lastIndexOf("/") + 1); + for (_j = 0, _len1 = all.length; _j < _len1; _j++) { + dep = all[_j]; + if (dep.indexOf(file) >= 0) { + deps.push(dep); + } + } + } + return deps; + }; + Teabag.log = function() { var _ref; this.messages.push(arguments[0]); return (_ref = this.console).log.apply(_ref, arguments); }; @@ -992,6 +1018,6 @@ return Console; })(); }).call(this); -;FI"required_assets_digest;F"%71a60ab6dd25527e06b138cd4be1e8a6I" _version;F"%6776f581a4329e299531e1d52aa59832 +;FI"required_assets_digest;F"%70df5189442f66f609739e23f341f7d6I" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file