1(function(window, document, $, undefined){ 2 3 'use strict'; 4 5 window.passeurBlog = {}; 6 7 /* Initialization 8 -------------------------------------------------- */ 9 passeurBlog.init = function() 10 { 11 passeurBlog.changeCategory(); 12 passeurBlog.singleSlider(); 13 } 14 15 /* Change category 16 -------------------------------------------------- */ 17 passeurBlog.changeCategory = function() 18 { 19 $( document ).on( 'change', 'body.blog div.cat select', function(){ 20 window.location.href = $( this ).val(); 21 return false; 22 }); 23 } 24 25 /* Single slider 26 -------------------------------------------------- */ 27 passeurBlog.singleSlider = function() 28 { 29 $( 'body.single-post .contenu .slider' ).slick(); 30 } 31 32 $( document ).on( 'ready', passeurBlog.init() ); 33 34})(window, document, 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.