Skip to content
  1. Dec 18, 2012
  2. Dec 17, 2012
  3. Dec 13, 2012
  4. Dec 12, 2012
    • Scott Whittaker's avatar
      Generate full paths for images in guides · 4bc20fcf
      Scott Whittaker authored
      Suppose we're using JSDuck to generate guides from the following directory
      structure:
      
      somedir/
        guides.json
        guides/
          getting_started/
            README.md
            some-image.png
          nested/
            first_guide/
              README.md
              one.png
            second_guide/
              README.md
              one.png
      
      In JSDuck's generated HTML, image tags in the Getting Started guide will point
      to the correct path relative to the page (e.g.
      'guides/guide_getting_started/some-image.png'). However, the nested guides will
      specify the wrong paths to images: JSDuck will write
      'guides/first_guide/one.png' instead of the correct
      'guides/guide_nested_first_guide/one.png'.
      
      This patch fixes the issue by generating the image's path based on the full
      name of the guide, instead of using 'File.basename' to incorrectly crop the
      path.
      4bc20fcf
    • Rene Saarsoo's avatar
      Proper string parsing in default values and type definitions. · dfaf6057
      Rene Saarsoo authored
      The strings can now contain the ] or } char without causing the
      parsing to end at that point.  For example:
      
          @cfg {String} [foo="]"]
      dfaf6057
    • Rene Saarsoo's avatar
      67aad127
  5. Dec 08, 2012
  6. Dec 07, 2012
  7. Dec 06, 2012
  8. Dec 05, 2012
  9. Nov 29, 2012
  10. Nov 28, 2012
    • Rene Saarsoo's avatar
      Fix ignoring of @tags in e-mail addresses in Ruby 1.8. · 5c1c5aa5
      Rene Saarsoo authored
      In Ruby 1.9 string[x] returns a string but in Ruby 1.8 it returns
      a char code.  Fixed by using sting[x,y] which always returns a string.
      5c1c5aa5
    • Rene Saarsoo's avatar
      Auto-detection of event name from this.fireEvent(). · 0f94aa5c
      Rene Saarsoo authored
      One can now write doc-comment for event before the this.fireEvent()
      and the event name will be picked up automatically, without any need
      to add @event tag.
      0f94aa5c
    • Rene Saarsoo's avatar
      Add warning for unsupported tags. · ac76529a
      Rene Saarsoo authored
      When encountering an unsupported @tag, JSDuck now prints a warning.
      
      To achieve this, I've enhanced the doc-comment parser to only accept
      @tags when they have a space in front of them.  Previously this would
      have been detected as @method tag:
      
          /** foo@method.com */
      
      Now it's treated as plain text as it should be. Only when separated
      with spaces, the @method tag gets detected:
      
          /** foo @method .com */
      ac76529a
Loading