Sha256: 49abe3b2c4367e27433124e2289d4e7e7a378a4ea8affd55a3547b05bf4ff477
Contents?: true
Size: 1.62 KB
Versions: 9
Compression:
Stored size: 1.62 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1355146483.190013:@value"{I" class:EFI"ProcessedAsset; FI"logical_path; FI"ominous/warnings.js; FI" pathname; FI"E/home/rob/web/ominous/app/assets/javascripts/ominous/warnings.js; FI"content_type; FI"application/javascript; FI" mtime; FI"2012-12-10T13:34:15+00:00; FI"length; Fi"I"digest; F"%b36765a66fb6770db1722a7e53691e0aI"source; FI""// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(function() { $('.ominous_warnings .reveal_hidden').click( function() { $('.ominous_warnings .start_visible').hide(); $('.ominous_warnings .start_hidden').show(); return false; }); $('.ominous_warnings .close_and_dismiss_warning').click( function() { send_data_to_server($(this).attr('href')); $(this).closest('.warning').hide('fade'); return false; }); function send_data_to_server(url) { $.ajax({ type: "PUT", url: url, success: function (data) { // console.log(data); }, error: function () { // console.log('Error updating'); } }) } }) ; ; FI"dependency_digest; F"%38ab56c266aef87e5584ce442cac8cddI"required_paths; F[I"E/home/rob/web/ominous/app/assets/javascripts/ominous/warnings.js; FI"dependency_paths; F[{I" path; FI"E/home/rob/web/ominous/app/assets/javascripts/ominous/warnings.js; FI" mtime; FI"2012-12-10T13:34:15+00:00; FI"digest; F"%84c11ca24c0da88241eb5b7d8861c5b2I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
9 entries across 9 versions & 1 rubygems