1/* 2 * The following script will invoke the Beam Suntory popup provided by the "BSI Elements" plugin, in the event that the Reserve Bar functionality on the product display page confirms that a product is unavailable through Reserve Bar. 3 */ 4 5var reserveBarBsi = { 6 init: function() { 7 if(typeof reserveBar == 'undefined') { 8 return; 9 } 10 if(typeof bsiProductElements == 'undefined') { 11 return; 12 } 13 14 this.addProductUnavailableFunction(); 15 }, 16 17 addProductUnavailableFunction: function() { 18 reserveBar.hooks.productUnavailableFunctions.push( 19 function() { 20 bsiProductElements.showMapPopup('findstore'); 21 } 22 ); 23 } 24}; 25 26jQuery(document).ready( 27 function() { 28 reserveBarBsi.init(); 29 } 30);
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.