Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/jsbarcode/src/help/ drwxr-xr-x |
Viewing file: Select action/file-type: import optionsFromStrings from "./optionsFromStrings.js"; import defaults from "../options/defaults.js"; function getOptionsFromElement(element){ var options = {}; for(var property in defaults){ if(defaults.hasOwnProperty(property)){ // jsbarcode-* if(element.hasAttribute("jsbarcode-" + property.toLowerCase())){ options[property] = element.getAttribute("jsbarcode-" + property.toLowerCase()); } // data-* if(element.hasAttribute("data-" + property.toLowerCase())){ options[property] = element.getAttribute("data-" + property.toLowerCase()); } } } options["value"] = element.getAttribute("jsbarcode-value") || element.getAttribute("data-value"); // Since all atributes are string they need to be converted to integers options = optionsFromStrings(options); return options; } export default getOptionsFromElement; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.005 ]-- |