Sha256: bda430947baa9264aee2db4a798b3899b680a0b6b689a8ec68fcf8ae0bbeddfb

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1368518127.40633:@value"Ê{I"
class:EFI"BundledAsset;FI"logical_path;FI"7rails_info/version_control/filter/_file_commits.js;TI"
pathname;FI"…/Users/gawlim/workspace/gem_repos/engines/rails_info/app/assets/javascripts/rails_info/version_control/filter/_file_commits.js.coffee;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-05-14T09:53:26+02:00;FI"length;FiœI"digest;F"%5d53d6553b95864d3f1d0b4630da8f49I"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"%4d1d6387ce2236922ca1e5d681d27429I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_info-0.1.1 spec/dummy/tmp/cache/assets/CF4/BE0/sprockets%2F382f33fa9142f58f5fdc494c81d37837