1/** 2 * Feature Name: Scripts 3 * Description: Adds some javascripts to the backend 4 * Version: 1.0 5 * Author: Laura Herzog for Ebner Publishing 6 * Author URI: http://musikmedia.de 7 * Licence: GPLv3 8 */ 9 10( function( $ ) { 11 var PostCounterFrontendScripts = { 12 /** 13 * Pseudo constructor to register all 14 * the settings we need for the backend 15 * 16 * @return void 17 */ 18 init: function() { 19 var postVars = { 20 action: 'ee_pe_set_post_views', 21 post_id: ee_pe_vars.post_id 22 } 23 $.post( ee_pe_vars.ajaxurl, postVars, function( response ) { 24 } ); 25 }, 26 }; 27 $( document ).ready( function( $ ) { 28 PostCounterFrontendScripts.init(); 29 } ); 30} )( 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.