Sha256: 9e0a61f5e302c002bd7355309977585c7fe1e1dd9c6a4431f37747d7d9b69785

Contents?: true

Size: 865 Bytes

Versions: 1

Compression:

Stored size: 865 Bytes

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1323253607.6270399!l:@value{	I"length:EFinI"digest;
F"%67d61c12b740f823eb72e7c2f03cab05I"source;
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"
_version;
F"%0cdd23eaa05043717fab0f3843ab7667

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noodall-components-quicklinks-1.0.0 test/dummy/tmp/cache/assets/CEE/690/sprockets%2F4fc598c469c52aa615f424106c889ce6