JsBarcode icon indicating copy to clipboard operation
JsBarcode copied to clipboard

JSBarcode of Undefined when invalid JQuery is passed

Open varunsanthosh opened this issue 7 years ago • 0 comments

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

  1. Inject a broken jQuery into the HTML file ().
  2. 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. console

varunsanthosh avatar Feb 16 '18 09:02 varunsanthosh