• Hi!

    I’m using YITH WooCommerce Gift Cards Premium plugin. When I don’t exclude a specific js-file in LiteSpeed cache it breaks here in an external library:

    jquery.fine-uploader.js:
    var acceptIosCamera = "image/*;capture=camera",

    It breaks it off to:
    var acceptIosCamera = "image

    and generats a js-error:
    Uncaught SyntaxError: "" string literal contains an unescaped line break

    Could you change your algorithm to avoid that? As it’s a third party library it could be used in other plugins as well. I can send you the file if you would like to examine it.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you mean if you don’t exclude jquery.fine-uploader.js , it will break ?

    Best regards,

    Thread Starter Ben Andersen

    (@ben72)

    Yes, if I don’t exclude it in the LiteSpeed Cache file exclusion settings it breaks with the js-error stated above.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS file exclusion’ is closed to new replies.