{"comment":{"created_at":"2011-10-20T11:38:39Z","body":"Actually var jq = jQuery.noConflict(true); and we use closure and reference jq as $. So it's sets our jQuery to jq and restore any previous loaded jQuery to $ so you shouldn't have problem with your own scripts. Be sure to clear up your cache or you'll definitely have problem with table sorter and the debugger.\r\n\r\nI can see you got server errors because of the bad join list, however if you got random error I would like to see your tracebacks to know where the problem is.","updated_at":"2011-10-20T11:38:39Z","url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/comments/2467550","id":2467550,"user":{"avatar_url":"https://secure.gravatar.com/avatar/aa5c873d3fcb4d270a76a9b91860738b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"aa5c873d3fcb4d270a76a9b91860738b","url":"https://api.github.com/users/blaflamme","id":454978,"login":"blaflamme"}},"action":"created","issue":{"number":38,"created_at":"2011-10-14T12:33:14Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"we use $(function() {}), aka ondomready quite extensively. After enabling debugtoolbar we found out that the global $ object did not contain necessary extensions anymore. This is probably caused by the debug toolbar fragment (https://github.com/Pylons/pyramid_debugtoolbar/blob/master/pyramid_debugtoolbar/templates/toolbar.jinja2#L11) injecting the scripts in separate elements; \r\n\r\nNow, we have seen some browsers, e.g. Chrome, parsing the body scripts in order, the onDomReady event is sometimes (quite often actually) fired after the debug toolbar's jQuery has been loaded, but before $.noConflict() is called.\r\n\r\nThus, 2 things should be changed. \r\n\r\n1) $.noConflict(true) should be used to remove the jQuery variable too\r\n2) all these scripts should be catenated, and even then they should refer to $ only by closure.","comments":7,"title":"Issue with conflicting jQuery modules","updated_at":"2011-10-20T11:38:39Z","url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/38","id":1909959,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/ca71042d9d6724f4cbc2598195662eb0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ca71042d9d6724f4cbc2598195662eb0","url":"https://api.github.com/users/ztane","id":704200,"login":"ztane"},"html_url":"https://github.com/Pylons/pyramid_debugtoolbar/issues/38","labels":[],"state":"open"},"legacy":{"issue_id":1909959,"comment_id":2467550}}