1/** 2 * Store all portal localstorage 3 * @Author Mr amit mehra and Mr Harbans singh 4 */ 5 6const OrderStorage = { 7 setStorageAll(type_id,slot_id,type) { 8 9 }, 10 setStorageSingle(item,value) { 11 localStorage.setItem(item,value); 12 }, 13 removeStorageAll(){ 14 localStorage.clear(); 15 }, 16 removeStorageSingle(item){ 17 localStorage.removeItem(item); 18 }, 19 getStorage(item){ 20 var returnValue = localStorage.getItem(String(item)); 21 return (returnValue) ? returnValue :''; 22 } 23} 24 25/** 26 * Store all portal localstorage 27 * @Author Mr Harbans singh 28 */ 29 30const OrderSessionStorage = { 31 32 setStorageSingle(item,value) { 33 sessionStorage.setItem(item,value); 34 }, 35 removeStorageAll(){ 36 sessionStorage.clear(); 37 }, 38 removeStorageSingle(item){ 39 sessionStorage.removeItem(item); 40 }, 41 getStorage(item){ 42 var returnValue = sessionStorage.getItem(String(item)); 43 return (returnValue) ? returnValue :''; 44 } 45}
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.