Skip to content
  1. Dec 17, 2012
    • Rene Saarsoo's avatar
      Replace big IF in DocParser with hash lookup. · 1df09c7e
      Rene Saarsoo authored
      The code should be now both cleaner and faster (we're no more calling
      look(/regex/) repeatedly to decide which at_tag method to call).
      1df09c7e
    • Rene Saarsoo's avatar
      Generalize parsing of several @tags in DocParser. · 1598b957
      Rene Saarsoo authored
      Remove bunch of duplication by parsing similar tags with a more
      generic functions.
      
      Also avoid repeating regexes by not testing for the exact tagname
      any more after the first initial check.  The new helper method
      parse_tag_as() replaces in lots of places two lines of code with
      just one.
      1598b957
  2. 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
  3. Dec 08, 2012
  4. Dec 07, 2012
  5. Dec 06, 2012
  6. Dec 05, 2012
  7. Nov 29, 2012
  8. Nov 28, 2012
  9. Nov 27, 2012
  10. Nov 26, 2012
    • Rene Saarsoo's avatar
      Support for @class doc-comment right before object literal. · 8ca7c33a
      Rene Saarsoo authored
      This allows for a way to document classes that aren't created with
      a standard Ext.define:
      
          createClass("Blah", /** @class Blah */ {
              foo: 17,
              doSometing: function() {},
              doOtherThing: function() {}
          });
      
      All the members inside the object literal will end up inside the class.
      
      Additionally this is equivalent to the functionality of @lends tag in
      jsdoc-toolkit, but we achieve the same without having a separate tag.
      8ca7c33a
    • Rene Saarsoo's avatar
      Support all built-in JS error classes. · 57aaea48
      Rene Saarsoo authored
      57aaea48
  11. Nov 20, 2012
    • Rene Saarsoo's avatar
    • Rene Saarsoo's avatar
      Improve hashed JS/CSS files creation. · c90ca30c
      Rene Saarsoo authored
      The template.html, index-template.html and print-template.html now
      all reference the same CSS files, allowing us to generate an hashed
      app.css from it which in all three cases results in exactly the same
      hash - so instead of three files we get just one CSS file.
      
      Include prettify library also to concatenated CSS/JS.
      
      Fix how JsDuck::TemplateDir copies over the files - ensuring that
      it also copies the files containing MD5 hash in their names.
      c90ca30c
  12. Nov 19, 2012
  13. Nov 12, 2012
  14. Nov 07, 2012
  15. Nov 01, 2012
  16. Oct 26, 2012
  17. Oct 25, 2012
    • Rene Saarsoo's avatar
      Check for circular dependencies. · efd153dc
      Rene Saarsoo authored
      Instead of crashing mysteriously, the circular @mixins and @extends
      now result in fatal error message which clearly shows the
      dependency chain that's causing the problem.
      efd153dc
  18. Oct 24, 2012
Loading