JsBarcode
JsBarcode copied to clipboard
JSBarcode of Undefined when invalid JQuery is passed
When the library code executes, if it encounters an jQuery
object which has not been fully initailized or in invalid. JSBarcode throws a error TypeError: Cannot set property 'JSBarcode' of undefined.
Steps to reproduce
- Inject a broken jQuery into the HTML file ().
- Try to render the page with JSBarcode.
The broken jQuery maybe cause of incomplete code injection (due to slow network) of any plugin added as extension.