1/*global $svjq */ 2 3( function ( $, win, scr ) { 4 5 'use strict'; 6 7 $( function () { 8 // Lyssna p� klick p� alla delaknappar med rel=external 9 $( document.body ).on( 'click', '.sharebutton[rel=external]', function ( e ) { 10 // Storlek p� popup 11 var w = 640, h = 480; 12 // �ppna bara popup om sk�rmen �r minst 768px bred 13 if ( win.matchMedia && win.matchMedia( '(min-width: 768px)' ).matches ) { 14 e.preventDefault(); 15 e.stopPropagation(); 16 win.open( 17 $( this ).attr( 'href' ), 18 'sharewindow', 19 'status=0,toolbar=0,location=0,menubar=0' + 20 ',directories=0,resizeable=1,scrollbars=1' + 21 ',left=' + ( scr.width / 2 - w / 2 ) + 22 ',top=' + ( scr.height / 2 - h / 2 ) + 23 ',centerscreen=1' + 24 ',width=' + w + 25 ',height=' + h 26 ); 27 } 28 } ); 29 } ); 30}( $svjq, window, window.screen ) ); 31 32 33
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.