Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4086

The JavaScript formatter trims semicolons

    Details

      Description

      Have this code:

      if(!cm || !cl.createElement) cm = (cl.contentWindow || cl.contentDocument).document, cm.write((c.compatMode === "CSS1Compat" ? "<!doctype html>" : "") + "<html><body>"), cm.close();
      

      Format it, and you'll get the code without the semicolon at the end:

      if(!cm || !cl.createElement)
          cm = (cl.contentWindow || cl.contentDocument).document, cm.write((c.compatMode === "CSS1Compat" ? "<!doctype html>" : "") + "<html><body>"), cm.close()
      

        Attachments

          Activity

            People

            • Assignee:
              sgibly Shalom Gibly
              Reporter:
              sgibly Shalom Gibly
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code