1$(function(){ 2 var 3 $popup = $("#modalPeopleGo") 4 , $document = $(document) 5 ; 6 7 // Constructors 8 $("div.region-dropdown.extended").citySelector(); 9 10 $(".city_select").selectcity({ 11 minimumInputLength: 1, 12 allowClear: true 13 }); 14 15 // Listeners 16 $document.on("click", "a[data-role=login]", function(e){ 17 e.preventDefault(); 18 19 $(this).closest() 20 }); 21 22 $document.on("click", "a[data-role=swift-registration]", function(e){ 23 e.preventDefault(); 24 25 $("#swift-registration") 26 .modal("show"); 27 28 $("#SwiftRegistrationType_eventId").val($(this).data("event-id")); 29 }); 30 31 $(".i-register-popup").on("click", function(){ 32 $("#modalRegister").modal("show"); 33 }); 34 35 $("a.i-subscribers").on("click", function(){ 36 var $this = $(this); 37 38 $popup.children().remove().end().html(""); 39 40 $("<div>") 41 .text($popup.attr("data-wait")) 42 .appendTo($popup); 43 44 $popup.modal("show"); 45 46 $.get($this.attr("data-source-uri")) 47 .done(function(html){ 48 $popup.html(html); 49 }) 50 .fail(function(){ 51 $popup.modal("hide"); 52 }) 53 }); 54 55 $document.on("subscribers:close", function(){ 56 $popup.modal("hide"); 57 }); 58});
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.