mooz/js2-mode — pull request #37 by eentzel (2012-03-08 00:59:18+00:00)
Title: Consider foo.bar to be a single parameter name in jsdoc comments

js2-mode nicely highlights jsdoc comments, putting `userinfo` in a different face in comments like this one:

/**
* @param userInfo Information about the user.
* @param userInfo.name The name of the user.
*/

Unfortunately it doesn't consider `userInfo.name` to be a single parameter (useful when documenting complex parameters, as described at http://code.google.com/p/jsdoc-toolkit/wiki/TagParam). Changing `js2-jsdoc-param-tag-regexp` to allow a literal `.` character in names fixes this.