Sha256: f6a7ef552d3f35a1956683a87071ff260c391d0483e7e62e89f8363f82b8fa14
Contents?: true
Size: 1.93 KB
Versions: 4
Compression:
Stored size: 1.93 KB
Contents
{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; TiI"digest; TI"%7341532fb96a04650cb50d1ad5ee9a9e; 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 = 'd5ba63b622ae4249834414e937b5477b'; 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"%d29a16811a872184778c6a26cbbb82d9; FI" _version; TI"%5c3e44a14ff6af2b9f721e31fc3e60ca; F
Version data entries
4 entries across 2 versions & 1 rubygems