1class ContentsModule { 2 constructor(prop) { 3 this.contextPath = prop.contextPath; 4 this.currentMenu = null; 5 } 6 7 setCurrentMenu(currentMenu) { 8 this.currentMenu = currentMenu; 9 } 10 11 render() { 12 if (this.currentMenu) { 13 const url = this.contextPath + '/ui/content.do'; 14 const data = { 15 menuTargCd: this.currentMenu.menu_targ_cd, 16 bodyTempNm: this.currentMenu.menu_temp_nm, 17 menuNo: this.currentMenu.menu_no 18 } 19 const callback = function (response) {$('#container').empty().append(response);} 20 commonModule.call('GET', url, 'html', data, false, callback); 21 } 22 } 23}
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.