1(function ($) { 2 "use strict"; 3 4 $('.color-trigger').on('click', function () { 5 $(this).parent().toggleClass('visible-palate'); 6 }); 7 8 var layoutChangerBtn = $(".color-palate .box-version li"); 9 var body = $("body"); 10 layoutChangerBtn.on("click", function(e) { 11 var $this = $(this); 12 if ( $this.hasClass("box") ) { 13 body.addClass("box-layout"); 14 } else { 15 body.removeClass("box-layout"); 16 }; 17 }); 18 19 20 var directionChanger = $(".color-palate .rtl-version li"); 21 var wrapper = $(".page-wrapper"); 22 directionChanger.on("click", function(e) { 23 var $this = $(this); 24 if ( $this.hasClass("rtl") ) { 25 wrapper.addClass("rtl"); 26 } else { 27 wrapper.removeClass("rtl"); 28 }; 29 }); 30 31 32 33}(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.