o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1398162847.839406: @value"*{I" class:ETI"ProcessedAsset;FI"logical_path;TI"+locomotive/form_submit_notification.js;FI" pathname;TI"ž/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-daa498a01652/vendor/assets/javascripts/locomotive/form_submit_notification.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-04-21T01:19:19+02:00;TI" length;TiúI" digest;TI"%ea73c7dd93a4948b3d6eefd6e31cdaff;FI" source;TI"ú/** * Version 0.0.1 * Display a message letting the user know the form is being submitted * Didier Lafforgue */ $.fn.formSubmitNotification = function(settings) { function show() { $('#form-submit-notification').fadeIn() } function hide() { $('#form-submit-notification').fadeOut() } function create(message) { if ($('#form-submit-notification').size() == 0) { var element = $("
" + message + "
").hide(); $('body').append(element); } } return this.each(function() { var form = $(this); var message = form.data('sending-form-message') || form.data('sending_form_message'); if (typeof(message) == 'undefined') message = form.find('input[type=submit]').data('sending-form-message'); if (typeof(message) == 'undefined') return ; create(message); form.bind('ajax:beforeSend', function(event) { show() }); form.bind('ajax:complete', function(event) { hide() }); }); } ; ;TI"dependency_digest;TI"%fe8be8f2e2eb2fbbb7d3c03d88685beb;FI"required_paths;T[I"ž/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-daa498a01652/vendor/assets/javascripts/locomotive/form_submit_notification.js;FI"dependency_paths;T[{I" path;TI"ž/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-daa498a01652/vendor/assets/javascripts/locomotive/form_submit_notification.js;FI" mtime;TI"2014-04-21T01:19:19+02:00;TI" digest;TI"%abd563cd89f5f950515d1a3de4ccc304;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F