top | item 3843365

(no title)

palish | 14 years ago

I have a simple fix. Standby.

EDIT: Fixed. Thanks for pointing that out. Let me know if you find anything else.

discuss

order

thezilch|14 years ago

Sure thing; still some edges -- not limited to the following.

  cat foo.js; jsmin <foo.js
  var foo = "foo",
  is_foo = foo?
    !!foo:
    "bar";
  
  var foo="foo",is_foo=foo?;!!foo:"bar";

palish|14 years ago

Fixed. Thank you, keep 'em coming.

As of now, semicolon substitution isn't performed if the character before the newline is any of: & | + - * ? :