Skip to content

Commit

Permalink
docs: fix example hyphen case (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaafar authored and corymsmith committed Aug 8, 2017
1 parent f382242 commit 9ddee63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ var { Answers } = Fabric;
// All log functions take an optional object of custom attributes as the last parameter
Answers.logCustom('Performed a custom event', { bigData: true });

Answers.logContentView('To-Do Edit', 'To-Do', 'to-do-42', { user-id: 93 });
Answers.logContentView('To-Do Edit', 'To-Do', 'to-do-42', { userId: 93 });

Answers.logAddToCart(24.50, 'USD', 'Air Jordans', 'shoes', '987654', {color: 'red'});

Expand Down

0 comments on commit 9ddee63

Please # to comment.