Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-534

Javascript stops execution when using @var doc-comment

    Details

      Description

      {html}<div><p>Hi there,</p>
      <p>while working with Titanium Mobile 0.8.2 (OSX 10.5.8, iPhone-SDK
      3.1.2) i could use these doc-coments (@var/@return etc) without
      problems, but suddenly the execution of my code stopped without any
      message whatsoever. It turns out the problem was a doc-comment in a
      prototype. A snippet to illustrate:</p>
      <p>function XXX()<br> {</p> <p>/<em>* * @var date</em> / this.thing = null;</p> <p>}</p>
      <p>does fine, while</p>
      <p>function XXX()<br> {</p> <p>/<em>* * @var Date</em> / this.thing = null;</p> <p>}</p>
      <p>does not.</p>
      <p>I'm not sure if i'm using the "correct" way to anotate my code,
      but since it's inside a comment-block i tend to say it's an error.
      Correct me if i'm wrong, otherwise i hope its helpful to you and
      others.</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              rseagraves Reggie Seagraves
              Reporter:
              christiandöring Christian Döring
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-505
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code