Skip to content
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

fixed #13 now sketchpad will work under jQuery.noConflict #14

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

Conversation

dotnetCarpenter
Copy link

I've fixed issue #13 and bumped the version number to 0.5.2.
Tested in Firefox 18.0.1

@rmsandu
Copy link

rmsandu commented Oct 5, 2016

Will this workaround work if I use two different jQuery library versions? A newer one that is compatible with the latest Bootstrap lib and the one that works for Raphael sketchpad (1.4.2) ?

@dotnetCarpenter
Copy link
Author

dotnetCarpenter commented Oct 5, 2016

If you include the new version of jQuery first and then jQuery 1.4.2 with .noConflict() then it should work.

<script src="jquery.min.js"></script>
<script src="jquery-1.4.2.min.js"></script>
<script>jQuery.noConflict()</script>
<script src="raphael.js"></script>
<script src="raphael.sketchpad.js"></script>

Not tested but should work

Its awful to include two versions of the same library with the size of jQuery but close to a deadline everything goes.

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