Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
I should note that it found "Foo", but neither "methodOne" or "methodTwo" even 
with
the "-a" param.  I don't know if this messes up (or causes huge recursion 
problems)
with other library styles, but it worked for the example above.

Original comment by [email protected] on 17 Sep 2007 at 9:51

from jsdoc-toolkit.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
I see the need for this but unfortunately it also causes 25 of the enclosed unit
tests to fail. I'll have to have a look at what the side effects are before 
applying
your patch.

Original comment by micmath on 17 Sep 2007 at 9:56

from jsdoc-toolkit.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
adding the following (similar) line after 351 of JsParse seems more promising...

else if (this._findFunction(fs)) {}

Original comment by micmath on 17 Sep 2007 at 10:36

  • Changed state: Started

from jsdoc-toolkit.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
The fix has been committed to revision 233 in the source repository.

Original comment by micmath on 17 Sep 2007 at 10:42

  • Changed state: Fixed

from jsdoc-toolkit.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 18, 2024
Revision 236 has a slightly more complete solution because it takes into 
account the
fact that simple functions (contrast with methods) defined within an enclosing
function are defined if the enclosing function is called, something that can 
only
ever be determined at runtime (and JsDoc does not run code). So, these secondary
types of functions are ignored by the parser.

Original comment by micmath on 17 Sep 2007 at 11:17

from jsdoc-toolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.