Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #69 from stuartf/methodctx
Browse files Browse the repository at this point in the history
find method ctx on nested objects
  • Loading branch information
tj committed Oct 16, 2012
2 parents 434d7ce + f32eead commit 1587335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dox.js
Expand Up @@ -271,7 +271,7 @@ exports.parseCodeContext = function(str){
, string: RegExp.$1 + '.prototype' + RegExp.$2
};
// method
} else if (/^(\w+)\.(\w+) *= *function/.exec(str)) {
} else if (/^([\w.]+)\.(\w+) *= *function/.exec(str)) {
return {
type: 'method'
, receiver: RegExp.$1
Expand Down

0 comments on commit 1587335

Please sign in to comment.