Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

It should be return not returns! #496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ If you need to automatically re-render other event data, you can use `calendar-w
`calendar-watch-event` expression must return a function that is passed `event` as argument and returns a string or a number, for example:

$scope.extraEventSignature = function(event) {
returns "" + event.price;
return "" + event.price;
}

<ui-calendar calendar-watch-event="extraEventSignature(event)" ... >
Expand Down