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
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Copyright (c) 2012 Sasha Koss Copyright (c) 2012 Sasha Koss
### ###


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


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

0 comments on commit 131db4b

Please sign in to comment.