Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bugfix/amd jquery ui #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 31, 2015
Merged

Bugfix/amd jquery ui #151

merged 3 commits into from
May 31, 2015

Conversation

radiolips
Copy link
Member

gridstack was previously loading in jquery and lodash, but not the necessary jquery-ui components. As gridstack's bower.json now includes jQueryUI, there should be no issue in requiring it into gridstack. I've verified that this works in my AMD build. For reference, I'm defining jquery-ui as such in my require.config paths section: 'jquery-ui': 'vendor/jquery-ui/ui/',

The decision to call it 'jquery-ui' vs 'jqueryui' or simple 'ui' was made because the (very poor) jquery-ui documentation references their components by jquery-ui/* as found here:
http://learn.jquery.com/jquery-ui/environments/amd/

troolee added a commit that referenced this pull request May 31, 2015
@troolee troolee merged commit 5d6ebe6 into gridstack:master May 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants