1"use strict"; 2 3(function ($) { 4 $(document).ready(function () { 5 $('.stm_lms_courses_search').each(function () { 6 var $this = $(this); 7 new Vue({ 8 el: $(this)[0], 9 data: function data() { 10 return { 11 vue_loaded: true, 12 loading: false, 13 search: '', 14 url: '' 15 }; 16 }, 17 mounted: function mounted() { 18 Vue.nextTick(function () { 19 $('.stm_lms_categories_dropdown').removeClass('vue_is_disabled'); 20 }); 21 this.url = stm_lms_search_value; 22 }, 23 components: { 24 autocomplete: Vue2Autocomplete["default"] 25 }, 26 methods: { 27 "goto": function goto() { 28 console.log('goto'); 29 }, 30 searchCourse: function searchCourse(obj) { 31 window.location.href = obj.url; 32 }, 33 searching: function searching(value) { 34 $this.addClass('loading'); 35 this.url = value; 36 }, 37 loaded: function loaded() { 38 $this.removeClass('loading'); 39 } 40 } 41 }); 42 }); 43 }); 44})(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.