Page 29 of 29 FirstFirst ... 19272829
Results 281 to 288 of 288

Thread: JSDuck - the tool for documenting your Ext JS apps

  1. #281
    Sencha User renku's Avatar
    Join Date
    Feb 2009
    Location
    Estonia
    Posts
    435

    Default

    I guess, it's not really the file name that's causing problems, but rather the class name. I don't really know why you would want to have dashes in your class names. You sure wouldn't do it if you were writing plain JavaScript. At the moment that's not supported.

    But if it's indeed filenames that you're having trouble with, you should be more specific, as there shouldn't be any such restriction.

  2. #282
    Sencha Premium Member
    Join Date
    Aug 2009
    Posts
    31

    Default

    My JS files are not necessarily javascript classes but some JS code that I would like to document.That's why I've used dashes and not dots.However I'd like to benefit of jsduck and from what I can see, jsduck dont like dashes.I tried to modify ruby classes but it's not a piece of cake.

  3. #283
    Sencha User renku's Avatar
    Join Date
    Feb 2009
    Location
    Estonia
    Posts
    435

    Default

    Well, in that case it's really a hack that you're documenting files using the concept of classes. Why not do another hack on top of that and use underscores instead.

    There is actually a long-standing feature request to support dashes and all kind of other characters in names of classes and their properties. But I can provide no estimate as of when it will get implemented.

  4. #284
    Sencha Premium Member
    Join Date
    Aug 2009
    Posts
    31

    Default

    This feature would be great but I understand it's not a priority.
    I think I will rename all my files even though it's not safe at all...

    Thx for your help

  5. #285

    Default

    Is this compatible with ExtJs 6? If so, how would I use it with EtxtJs 6?

  6. #286

    Default

    Thats good sir

  7. #287
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448

    Default

    Quote Originally Posted by PhaseShifter View Post
    Is this compatible with ExtJs 6? If so, how would I use it with EtxtJs 6?
    You can use it on any JavaScript file really. For Ext JS 6, JSDuck doesn't support the separate toolkits so if you use classic and modern toolkits, you'd have to run JSDuck twice targeting each toolkit separately. It's what we currently are doing over at docs.sencha.com
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  8. #288
    Sencha User
    Join Date
    Nov 2015
    Posts
    5

    Default very good

    Strange that nobody has asked for this before. I downgraded the required RubyGems to 1.3.5 and released JSDuck 3.0.1.




Page 29 of 29 FirstFirst ... 19272829

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •