1/** 2 * Created by waqasriaz on 11/04/17. 3 */ 4if (typeof homey_reCaptcha !== "undefined") { 5 var reCaptchaIDs = []; 6 var site_key = homey_reCaptcha.site_key; 7 var secret_key = homey_reCaptcha.secret_key; 8 var is_singular_listing = homey_reCaptcha.is_singular_listing; 9 var homey_logged_in = homey_reCaptcha.homey_logged_in; 10 11 var homeyReCaptchaLoad = function() { 12 jQuery( '.homey_google_reCaptcha' ).each( function( index, el ) { 13 var tempID = grecaptcha.render( el, { 14 'sitekey' : site_key 15 } ); 16 reCaptchaIDs.push( tempID ); 17 } ); 18 }; 19 20 //Reset reCaptcha 21 var homeyReCaptchaReset = function() { 22 if( typeof reCaptchaIDs != 'undefined' ) { 23 var arrayLength = reCaptchaIDs.length; 24 for( var i = 0; i < arrayLength; i++ ) { 25 grecaptcha.reset( reCaptchaIDs[i] ); 26 } 27 } 28 }; 29}
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.