makinacorpus/spynner — pull request #10 by yusumishi (2012-09-20 17:30:10+00:00)
Title: Update src/spynner/browser.py

The 'if self.want_compat:' in the line 479 should be removed because
jscode += "\nvar %s = jQuery.noConflict();" % self.jslib
is only executed when 'self.want_compt == True'.
Thus:
br = Spynner.Browser(jslib='jq')
br.runjs('jq("input")')
Will not work. And only 'br.runjs('$("input")') will work even if br.jslib == 'jq'.