Skip to content

Commit

Permalink
Updated @deprecated syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
wittemann committed Aug 28, 2012
1 parent 948be57 commit dabb519
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Events should be declared as deprecated in the comment section of the event. Thi

/**
* ...
* @deprecated since <upcomming version>
* @deprecated {<upcomming version>} ... (describing text)
*/

This will force the generated API to include a deprecation note. Additionally you should throw a warning at runtime similar to deprecated methods. But you need to throw a warning if someone //registers// for that event. To do that, you can override the ''addListener()'' function in your current class.
Expand Down

0 comments on commit dabb519

Please sign in to comment.