Skip to content
  1. Aug 17, 2012
    • Rene Saarsoo's avatar
      Take the new JsDuck::Class#find_members into use. · 81ebeea8
      Rene Saarsoo authored
      Discard JsDuck::Class methods:
      
      - members
      - constructor_first
      - members_hash
      - local_members_hash
      - get_members
      - all_members
      - reset_members_lookup!
      
      The new #find_members replaces most of them.
      
      Moved sorting and ordering of constructor into FullExporter,
      so the #constructor_first method still exists, but is elsewhere.
      Also added tests for exporter, but the export format still
      remains the same.
      
      The code for warning about statics in singleton moved to Lint.
      
      Related to this there's one change in behavior - static members
      in singleton are no more cursed into instance members.  That's
      because a singleton actually can contain static members, though
      it's silly and JSDuck warns about that, but you can even access
      those static members in a clumsy way:
      
          MySingleton.statics().staticMethod();
      
      This is where statics: {} end up when you define them in Ext 4 way
      inside a singleton class.  And I've seen some classes in Ext/Touch
      codebase even doing so... it's nevertheless silly.
      
      As for the bogus @static tag use in singleton classes for members
      that aren't really static - these just need to be fixed.
      81ebeea8
  2. Aug 16, 2012
  3. Aug 15, 2012
  4. Aug 09, 2012
  5. Aug 08, 2012
    • Rene Saarsoo's avatar
      Restructure how options are ordered. · de5b09e1
      Rene Saarsoo authored
      Use 4 sections instead of previous 3:
      
      - Main options
      - Customizing output
      - Tweaking
      - Debugging
      de5b09e1
    • Rene Saarsoo's avatar
      Describe extensively all command line options. · ec46edc4
      Rene Saarsoo authored
      The last empty line is now added by JsDuck::OptionParser, so no
      need to add it in every option description and inside
      Logger#doc_warnings.
      
      Additionally changed the default title to: "Documentation - JSDuck"
      ec46edc4
    • Rene Saarsoo's avatar
      Change --help option behavior. · f2942117
      Rene Saarsoo authored
      --help without arguments will now print a short list of all options.
      
      --help=--option-name prints a detailed description of the given option.
      
      Implemented with JsDuck::OptionParser class that extends builtin
      OptionParser with the ability to print out help in two formats:
      short list of all options & long description of specific option.
      f2942117
    • Rene Saarsoo's avatar
      Fix crash when CSS has free-hanging doc-comment. · 185fc7ab
      Rene Saarsoo authored
      Treat this case as we do with other such comments in JavaScipt -
      by defaulting to property.
      185fc7ab
  6. Aug 07, 2012
  7. Aug 06, 2012
Loading