jQWidgets Forums

jQuery UI Widgets Forums General Discussions unreachable code after return statement

This topic contains 4 replies, has 2 voices, and was last updated by  admin 4 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author

  • StevenChapman
    Participant

    Hello,

    During execution, there are lots of warnings in the Firefox console referencing jqx-all.js, saying “unreachable code after return statement”.

    I realize that these do not cause actual errors for the end user, but it is annoying during development that these pile up in the console. Will this be fixed?

    Thanks,
    Steve
    The Boeing Company


    admin
    Keymaster

    Hi Steve,

    In general we advice to do not use jqx-all.js and only the components which you actually use. jqx-all.js includes all components and is a large file. Could you send us what kind of warnings appear?

    Regards,
    Peter


    StevenChapman
    Participant

    Yes here is an example. This is with jQWidgets 9.0.0. Thank you.

    unreachable code after return statement
    jqx-all.js:23:67450
    unreachable code after return statement
    jqx-all.js:57:6240
    unreachable code after return statement
    jqx-all.js:81:35261
    unreachable code after return statement
    jqx-all.js:111:21308
    unreachable code after return statement
    jqx-all.js:111:28195
    unreachable code after return statement
    jqx-all.js:115:15336
    unreachable code after return statement
    jqx-all.js:115:15336


    StevenChapman
    Participant

    Here it is with jQWidgets 9.1.6. I think it is the same:

    unreachable code after return statement
    jqx-all.js:23:67450
    unreachable code after return statement
    jqx-all.js:57:6240
    unreachable code after return statement
    jqx-all.js:81:35261
    unreachable code after return statement
    jqx-all.js:111:21308
    unreachable code after return statement
    jqx-all.js:111:28195
    unreachable code after return statement
    jqx-all.js:115:15542


    admin
    Keymaster

    Thanks for the information.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.