1/*! visualCaptcha WordPress Bootstrapper 2* http://visualcaptcha.net 3* Copyright (c) 2015 emotionLoop; Licensed MIT */ 4 5(function( $ ) { 6 $( document ).ready( function() { 7 $( '[data-captcha]' ).each( function() { 8 var $this = $( this ); 9 10 var captchaData = $this.data( 'captcha' ); 11 12 var numberOfImages = captchaData.numberOfImages || 6; 13 14 var namespace = captchaData.namespace || ''; 15 16 $this.visualCaptcha( { 17 imgPath: captchaParams.imgPath, 18 captcha: { 19 url: captchaParams.url, 20 numberOfImages: numberOfImages, 21 namespace: namespace, 22 callbacks: { 23 loaded: function( captcha ) { 24 // Avoid adding the hashtag to the URL when clicking/selecting visualCaptcha options 25 $this.find( 'a' ).on( 'click', function( event ) { 26 event.preventDefault(); 27 }); 28 } 29 } 30 }, 31 language: captchaParams.language 32 }); 33 }); 34 }); 35})( jQuery );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.