Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #69 from stuartf/methodctx

find method ctx on nested objects
  • Loading branch information...
commit 1587335394e5085a9ae4746ba158bf0ea93f29d0 2 parents 434d7ce + f32eead
TJ Holowaychuk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/dox.js
2  lib/dox.js
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.