Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes namespaces on constructor protytpes #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

webnard
Copy link

@webnard webnard commented Aug 28, 2014

For example, the following documentation would not allow for
navigational differentiation between q and q#b when viewing the overview
for each. I.e., if the user is viewing q#b, the menu might be open for
q, or vice versa.

/**
 * @constructor
 */
var q = function(){};

/**
 * @memberof q
 */
q.prototype.a;

/**
 * @memberof q
 * @namespace
 */
q.prototype.b = {};

/**
 * blah blah
 */
q.prototype.b.c = {};

For example, the following documentation would not allow for
navigational differentiation between q and q#b when viewing the overview
for each. I.e., if the user is viewing q#b, the menu might be open for
q, or vise versa.

```javascript
/**
 * @constructor
 */
var q = function(){};

/**
 * @memberof q
 */
q.prototype.a;

/**
 * @memberof q
 * @namespace
 */
q.prototype.b = {};

/**
 * blah blah
 */
q.prototype.b.c = {};
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant