1'use strict'; 2/*globals ACC */ 3 4ACC.jobList = { 5 _autoload: [ 6 ["bindjobFacet", $(".js-job-facet").length >0] 7 ], 8 9 bindjobFacet: function() 10 { 11 var self = this; 12 13 this.$jobFacet = $(".js-job-facet"); 14 this.$modalClose = $('.js-job-facet-close'); 15 this.$modalButton = $('.js-job-facet-modal'); 16 this.$body = $('body'); 17 18 this.$modalButton.on('click', function (e) { 19 e.preventDefault(); 20 self.$jobFacet.addClass('job-facet--active'); 21 self.$body.addClass('job-facet--is-active'); 22 23 }); 24 25 this.$modalClose.on('click', function (e) { 26 e.preventDefault(); 27 self.$jobFacet.removeClass('job-facet--active'); 28 self.$body.removeClass('job-facet--is-active'); 29 }); 30 } 31};
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.