1 jQuery(function () { 2 $('.sidenav').sidenav(); 3 $('select').formSelect(); 4 initMaterialbox(); 5 initCollapsible(); 6 initModalWindow(); 7 initTabs2(); 8 initDropDownLevel1(); 9 initDropDownLevel2(); 10 initDropDownLevel1_RightPosition(); 11 }); 12 13 14 function initModalWindow() { 15 var condition = $('.modal').size() 16 // && false 17 ; 18 init(condition); 19 20 function init(condition) { 21 if (condition || condition == null) { 22 $('.modal').modal(); 23 } 24 } 25 } 26 27 28 function initCollapsible() { 29 var condition = $('.modal').size() 30 // && false 31 ; 32 init(condition); 33 34 function init(condition) { 35 if (condition || condition == null) { 36 $('.collapsible').collapsible({ 37 inDuration: 300, 38 outDuration: 400 39 }); 40 } 41 } 42} 43 44 45 function initMaterialbox() { 46 var condition = $('.materialboxed').size() 47 // && false 48 ; 49 init(condition); 50 51 function init(condition) { 52 if (condition || condition == null) { 53 $('.materialboxed').materialbox({ 54 inDuration: 100, 55 outDuration: 200 56 }); 57 } 58 } 59 } 60 61 function initTabs2() { 62 var condition = $('.tabs').size() 63 // && false 64 ; 65 init(condition); 66 67 function init(condition) { 68 if (condition || condition == null) { 69 $('.tabs').tabs({ 70 duration: 200 71 }); 72 } 73 } 74 } 75 76 77 function initDropDownLevel1() { 78 var condition = $('.dropDownButtonLevel1').size() 79 // && false 80 ; 81 init(condition); 82 83 function init(condition) { 84 if (condition || condition == null) { 85 $('.dropDownButtonLevel1').dropdown({ 86 inDuration: 300, 87 outDuration: 225, 88 constrainWidth: false, 89 hover: false, 90 gutter: 0, 91 coverTrigger:false, 92 alignment: 'center', 93 stopPropagation: false 94 }); 95 } 96 } 97 } 98 99 function initDropDownLevel2() { 100 var condition = $('.dropDownButtonLevel2').size() 101 // && false 102 ; 103 init(condition); 104 105 function init(condition) { 106 if (condition || condition == null) { 107 $('.dropDownButtonLevel2').dropdown({ 108 109 hover: true 110 }); 111 } 112 } 113 } 114 115 function initDropDownLevel1_RightPosition() { 116 var condition = $('.dropDownButtonLevel1_RightPosition').size() 117 // && false 118 ; 119 init(condition); 120 121 function init(condition) { 122 if (condition || condition == null) { 123 $('.dropDownButtonLevel1_RightPosition').dropdown({ 124 inDuration: 300, 125 outDuration: 225, 126 constrainWidth: false, 127 hover: false, 128 gutter: 0, 129 coverTrigger:false, 130 alignment: 'right', 131 stopPropagation: false 132 }); 133 } 134 } 135 } 136 137 138 139 140
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.