Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

Fix for Issue "Optional loading of JQuery and JQuery-ui #13" #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rlsutton1
Copy link

This fix maintains backwards compatibility of the API.

GridStackLayout works exactly as before.

Users needing to suppress the loading of JQuery and JQuery-UI should use
GridStackLayoutNoJQuery rather than GridStackLayout.

changes:
I have renamed GridStackLayout to GridStackLayoutNoJQuery and removed
the references to jquery and jquery-ui in the @javascript annotation

I have created a replacement GridStackLayout which extends
GridStackLayoutNoJQuery and has an @javascript annotation which loads
the jquery and jquery-ui as before.

All other changes are very minimal, referencing GridStackLayoutNoJQuery
where necessary.

This fix maintains backwards compatibility of the API.

GridStackLayout works exactly as before.

Users needing to suppress the loading of JQuery and JQuery-UI should use
GridStackLayoutNoJQuery rather than GridStackLayout.

changes:
I have renamed GridStackLayout to GridStackLayoutNoJQuery and removed
the references to jquery and jquery-ui in the @javascript annotation

I have created a replacement GridStackLayout which extends
GridStackLayoutNoJQuery and has an @javascript annotation which loads
the jquery and jquery-ui as before.

All other changes are very minimal, referencing GridStackLayoutNoJQuery
where necessary.
@alump
Copy link
Owner

alump commented Jul 12, 2016

I have to review this later, there are few things I might do differently.

@alump
Copy link
Owner

alump commented Jul 12, 2016

Have to fist check if I could pair this to code somehow: https://api.jquery.com/jquery.noconflict/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants