1/** 2 * Feature Name: Scripts 3 * Description: Adds some javascripts to the frontend 4 * Version: 1.0 5 * Author: Laura Herzog 6 * Author URI: https://www.ebnerpublishing.com/ 7 * Licence: GPLv3 8 */ 9 10( function( $ ) { 11 var PortfolioFrontendScripts = { 12 /** 13 * Pseudo constructor to register all 14 * the settings we need for the backend 15 * 16 * @return void 17 */ 18 init: function() { 19 $( '.select2-tags' ).select2(); 20 }, 21 }; 22 $( document ).ready( function( $ ) { 23 PortfolioFrontendScripts.init(); 24 } ); 25} )( 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.