Permalink
Browse files

Merge pull request #110 from gaslight/master

Don't assume jQuery owns $
  • Loading branch information...
Ryan Fitzgerald
Ryan Fitzgerald committed Apr 17, 2012
2 parents b77d770 + ffc950b commit d6ca4c8e7eb002a4d4e5e34c988392aa8736a8d9
Showing with 2 additions and 2 deletions.
  1. +2 −2 vendor/assets/javascripts/backbone_rails_sync.js
@@ -1,4 +1,4 @@
-(function() {
+(function($) {
var methodMap = {
'create': 'POST',
'update': 'PUT',
@@ -65,4 +65,4 @@
return $.ajax(params);
}
-}).call(this);
+})(jQuery);

0 comments on commit d6ca4c8

Please sign in to comment.