1 2"use strict" 3 4var dlabSettingsOptions = {}; 5 6function getUrlParams(dParam) 7 { 8 var dPageURL = window.location.search.substring(1), 9 dURLVariables = dPageURL.split('&'), 10 dParameterName, 11 i; 12 13 for (i = 0; i < dURLVariables.length; i++) { 14 dParameterName = dURLVariables[i].split('='); 15 16 if (dParameterName[0] === dParam) { 17 return dParameterName[1] === undefined ? true : decodeURIComponent(dParameterName[1]); 18 } 19 } 20 } 21 22(function($) { 23 24 "use strict" 25 26 /* var direction = getUrlParams('dir'); 27 28 if(direction == 'rtl') 29 { 30 direction = 'rtl'; 31 }else{ 32 direction = 'ltr'; 33 } */ 34 35 dlabSettingsOptions = { 36 typography: "poppins", 37 version: "light", 38 layout: "vertical", 39 primary: "color_1", 40 secondary: "color_1", 41 headerBg: "color_1", 42 navheaderBg: "color_1", 43 sidebarBg: "color_1", 44 sidebarStyle: "full", 45 sidebarPosition: "fixed", 46 headerPosition: "fixed", 47 containerLayout: "full", 48 }; 49 50 51 52 53 new dlabSettings(dlabSettingsOptions); 54 55 jQuery(window).on('resize',function(){ 56 /*Check container layout on resize */ 57 ///alert(dlabSettingsOptions.primary); 58 dlabSettingsOptions.containerLayout = $('#container_layout').val(); 59 /*Check container layout on resize END */ 60 61 new dlabSettings(dlabSettingsOptions); 62 }); 63 64})(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.