{I" class:ETI"BundledAsset;FI"logical_path;TI"application.js;TI" pathname;TI"0$root/app/assets/javascripts/application.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+hÒbTI" length;Ti I" digest;TI"%17b7b4882758e4fe688e074963500af5;FI" source;TI" (function(){ var antiSpamizeForms = function(){ var forms = document.querySelectorAll("form"); for(var i = 0, max = forms.length; i < max; i++){ var form = forms[i]; form.onsubmit = function(){ if(form.querySelectorAll('input.antispam_token').length == 0){ var input = document.createElement('input'); input.type = 'hidden'; input.name = 'antispam_token'; input.className = 'antispam_token' input.value = '<%= AntiSpam.token %>'; form.appendChild(input); form.submit(); return false; } } } } if(document.attachEvent){ document.attachEvent("onreadystatechange", antiSpamizeForms); document.attachEvent("onload", antiSpamizeForms); }else{ document.addEventListener('DOMContentLoaded', antiSpamizeForms, false); document.addEventListener('load', antiSpamizeForms, false); document.addEventListener('page:load', antiSpamizeForms, false); // for turbolinks } })(); // This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. // // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details // about supported directives. // ; ;TI"required_assets_digest;TI"%6189a0c226cacab6079872eb77fc5253;FI" _version;TI"%d978939c91fa8a88b4612c4140ee433d;F