We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
register_widget function uses "jQuery" variable rather than the "$" which is local to the factory function.
Can be fixed with:
git diff src/jquery.gridster.js diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 7bac911..8a78907 100755 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -839,7 +839,7 @@ * than the original. */ fn.register_widget = function($el) { - var isDOM = $el instanceof jQuery; + var isDOM = $el instanceof $; var wgd = isDOM ? this.dom_to_coords($el) : $el; var posChanged = false; isDOM || ($el = wgd.el);
The text was updated successfully, but these errors were encountered:
Fix for bug ducksboard#493 including unit tests to prove.
c0a2bde
Run npm install and visit test/jquery.gridster-amd.html in browser.
Merge remote-tracking branch 'ducksboard/bug-493-jquery-no-global-fail'
5b1dfbe
* ducksboard/bug-493-jquery-no-global-fail: Fix for bug ducksboard#493 including unit tests to prove.
No branches or pull requests
register_widget function uses "jQuery" variable rather than the "$" which is local to the factory function.
Can be fixed with:
The text was updated successfully, but these errors were encountered: