Permalink
Browse files

dont assume jQuery owns $

  • Loading branch information...
1 parent b77d770 commit ffc950ba8deebc799448fa87bbadda5861fe2523 Chris Nelson committed Apr 17, 2012
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 ffc950b

Please sign in to comment.