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

Inline prototype/object literal documentation #107

Merged
merged 7 commits into from
Sep 4, 2014
Merged

Inline prototype/object literal documentation #107

merged 7 commits into from
Sep 4, 2014

Conversation

thom4parisot
Copy link
Contributor

This is a tribute to the object literal prototype with support of getters and setters:

/**
 * Here we are
 */
Foo.prototype = {
  /**
   * @return {string}
   */
  get version() {
    return "1.33.7";
  },
  /**
   * @param {string} bar
   */
  setBar: function(bar) {
    this.bar = bar;
  }
};

refs #100
possible interest for #106, #85 and #97

@kaerus
Copy link

kaerus commented Nov 12, 2013

👍 on this. I need it.

@Twipped
Copy link
Collaborator

Twipped commented Aug 26, 2014

Any chance of this being accepted any time soon? I've got an entire chunk of a library that dox ignores because it can't see object literals.

This was referenced Sep 2, 2014
@evindor evindor merged commit 6f9e74c into tj:master Sep 4, 2014
@thom4parisot thom4parisot deleted the inline-prototype branch September 4, 2014 17:44
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.

4 participants