Sha256: e84a4550003ddf8f435422f89cf55fe69584f76668a28f1fce90b55e992d4724

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1386752563.6026418‘¯:@value"Ì{I"
class:EFI"BundledAsset;FI"logical_path;FI"8rails_info/version_control/filters/_file_commits.js;FI"
pathname;FI"†/Users/gawlim/workspace/gem_repos/engines/rails_info/app/assets/javascripts/rails_info/version_control/filters/_file_commits.js.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2013-05-14T09:53:26+02:00;FI"length;FiœI"digest;F"%c370e85ad34158de62a3392a58b33be4I"source;FI"œ(function() {
  jQuery(function() {
    return $('.file_commits input').change(function(event) {
      var fields;

      event.preventDefault();
      fields = {};
      $.each($(this.form).serializeArray(), function(index, field) {
        return fields[field.name] = field.value;
      });
      return $.each($(this.form).find('a.diff'), function(index, link) {
        var url;

        url = 'https://projects.mtvnn.com/projects/' + fields['project_slug'] + '/repository';
        if (fields['rev'] === fields['rev_to']) {
          url += '/revisions/' + fields['rev'] + '/entry/' + fields['path'];
        } else {
          url = '/rails/info/version_control/diffs/new?repository_path=' + fields['repository_path'] + '&path=' + fields['path'] + '&';
          url += 'rev=' + fields['rev'] + '&rev_to=' + fields['rev_to'];
        }
        return $(link).attr('href', url);
      });
    });
  });

}).call(this);
;FI"required_assets_digest;F"%71c07cddb85d77afe99bfafa4c31ea5aI"
_version;F"%9f3b95dd7ea3030dc35985c0a8020862

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_info-0.1.1 spec/dummy/tmp/cache/assets/DC0/4C0/sprockets%2Fdf32080f5bec4cc8ca3281c9a01fd5a6