HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/BOoms/pro-oils.be/wwwroot/wp-content/plugins/jetpack/modules/shortcodes/js/gist.js
( function( $, undefined ) {
	var gistStylesheetLoaded = false,
		gistEmbed = function() {
			$( '.gist-oembed' ).each( function( i, el ) {
				var url = 'https://gist.github.com/' + $( el ).data( 'gist' ),
					ts = Number.parseInt( $( el ).data( 'ts' ), 10 );

				$.ajax( {
					url: url,
					dataType: 'jsonp',
				} ).done( function( response ) {
					if ( ts && 8 !== ts ) {
						$( el ).replaceWith( $( response.div ).css( 'tab-size', ts.toString() ) );
					} else {
						$( el ).replaceWith( response.div );
					}

					if ( ! gistStylesheetLoaded ) {
						var stylesheet =
							'<link rel="stylesheet" href="' + response.stylesheet + '" type="text/css" />';

						$( 'head' ).append( stylesheet );

						gistStylesheetLoaded = true;
					}
				} );
			} );
		};

	$( document ).ready( gistEmbed );
	$( 'body' ).on( 'post-load', gistEmbed );
} )( jQuery );