Details

      Description

      Why does the generated HTML file from this scriptdoc ignore the @property attribute entirely? Is there some other way to designate a property of a class in this
      manner?

      /**
       *  This is a class
       * @classDescription Some class
       * @return {Object} Returns a new one  
       * @author me
       * @version 1.0
       */
      MyClass = function(){   
         /**
          * This is my property
          * @property {String}
          */
         this.myProperty = 'hello';
      }
      

      This is hacky at best. The documentation generation is based on the content of the JS outline. In this specific case what is happening is that a property element is being created for "this" and then the myProperty is generating a child property element. I think that in itself is invalid, but to add to mix, both "this" and "myProperty" have their ignore flags set to true. I believe the sdoc XSLT stylesheet will skip items with that flag set to true.

      As reported in Tender discussion #1207

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              aptana1 Aptana
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code