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

Commit

Permalink
Merge pull request #36 from nextmat/master
Browse files Browse the repository at this point in the history
Fix typo in README
  • Loading branch information
josh committed Aug 19, 2014
2 parents 29ce0f0 + cfa3081 commit 560d412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -40,7 +40,7 @@ This library handles all the `data-*` behaviors defined in Rails. So its roughly
The differences are in the JS interface.

1. There are no `ajax:*` events. jQuery already has global ajax events built in, so there is no point in duplicating that functionality. Doing a find and replace for `"ajax:"` events should give you a good start. You're looking to replace `ajax:success` with `ajaxSuccess`, `ajax:error` with `ajaxError`, etc.
2. There are no global configuration options. Theres no equivalent for `$.rails`. Your probably should have never used that in the first place.
2. There are no global configuration options. Theres no equivalent for `$.rails`. You probably should have never used that in the first place.

**NOTE** You **can not** use rails-behaviors and jquery-ujs at the same time.

Expand Down

0 comments on commit 560d412

Please sign in to comment.