Permalink
Browse files

Fix typo in README.md about jqmCompatMode.

  • Loading branch information...
1 parent 1dd222f commit 2256b353f1e6609923d3785e3a35f28d5059e398 @ajoslin ajoslin committed Jul 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -152,7 +152,7 @@ nor will it update the hash when pages are changed programmatically (e.g. by the
if you want to use routes in angular. For this, there is the function `jqmCompatMode(bool)` in the
`$locationProvider`. Here is an example for turning jqm compatibility mode off:
- module.config(function($location) { location.jqmCompatMode(false); });
+ module.config(function($locationProvider) { $locationProvider.jqmCompatMode(false); });
Scopes

0 comments on commit 2256b35

Please sign in to comment.