Sha256: 2a58f4280a47fece8ddfe58bc56dde7746936e1e6e25bcc6d3317d271b07980b

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1323262478.353539 b:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%0894b657be146a5faeac567543534282I"logical_path;
FI"ajaxify.js;
FI"
pathname;
FI"}/Users/jordan/.rvm/gems/ruby-1.9.2-p290@noodall-components-quicklinks/gems/noodall-ui-0.5.0/app/assets/javascripts/ajaxify.js;
FI"content_type;
FI"application/javascript;
FI"
mtime;
FI"2011-12-06T13:59:03+00:00;
FI"	body;
FI"n// Set a form to send via ajax and remove current errors
// usage:
//   ajaxifyForms('#new_subscriber')
function ajaxifyForms(selector) {
  $(selector).live('submit', function() {
    $(this).find('#errorExplanation, .success').slideUp('fast', function() { $(this).remove();});
    $.post($(this).attr('action'), $(this).serialize(), null, 'script' );
    return false;
  });
}

// Set a link to get via ajax
// usage:
//   ajaxifyLinks('#tags a')
function ajaxifyLinks(selector) {
  $(selector).live('click', function() {
    $.get($(this).attr('href'), $(this).serialize(), null, 'script' );
    return false;
  });
}
;
;
FI"asset_paths;
F[I"}/Users/jordan/.rvm/gems/ruby-1.9.2-p290@noodall-components-quicklinks/gems/noodall-ui-0.5.0/app/assets/javascripts/ajaxify.js;
FI"dependency_paths;
F[{I"	path;
FI"}/Users/jordan/.rvm/gems/ruby-1.9.2-p290@noodall-components-quicklinks/gems/noodall-ui-0.5.0/app/assets/javascripts/ajaxify.js;
FI"
mtime;
FIu:	Time
Íì€0ì:@_zoneI"GMT;
T:offsetiI"hexdigest;
F"%8fb3088947cd1c1bdef382d750a88006I"
_version;
F"%ee50e40b36d7dc25c526aaff3fac8c9c

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noodall-components-quicklinks-1.0.0 test/dummy/tmp/cache/assets/D39/C90/sprockets%2F5640df894de4a338540aeab08a546bc4