Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Load jQuery from global namespace first.
Browse files Browse the repository at this point in the history
This fixes the cases wherein you may be using an AMD system, but load jQuery outside AMD.
  • Loading branch information
rstacruz committed Jan 17, 2013
1 parent c187938 commit 131db4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.turbolinks.coffee
Expand Up @@ -8,7 +8,7 @@
Copyright (c) 2012 Sasha Koss
###

$ = require?('jquery') || window.jQuery
$ = window.jQuery or require?('jquery')

# List for store callbacks passed to `$` or `$.ready`
callbacks = []
Expand Down

0 comments on commit 131db4b

Please sign in to comment.