edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] defaultView and getComputedStyle patch
Date: Tue, 15 Aug 2017 04:33:30 -0400	[thread overview]
Message-ID: <20170715043330.eklhad@comcast.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1708150031450.27032@carhart.net>

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

> Semicolons in Javascript are optional

Yes, if there is a newline that can syntactically stand in for semicolon, or a closing brace etc.
Some people think this is cool, I think it's kinda ridiculous / sloppy.
I can tell you it plays hell with the lexical scanner, I don't think you can use traditional tools like lex, and even if this weren't there, the bare regular expressions   /jkl'"qrs/  also derail any traditional scanner.
Yuck! Well that's duktape's problem.

Karl Dahlke

      reply	other threads:[~2017-08-15  8:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14  4:42 Kevin Carhart
2017-08-14  6:35 ` Karl Dahlke
2017-08-15  0:48   ` Kevin Carhart
2017-08-15  1:26     ` Karl Dahlke
2017-08-15  3:05       ` Kevin Carhart
     [not found]         ` <20170715003928.eklhad@comcast.net>
2017-08-15  5:38           ` Kevin Carhart
2017-08-15  6:43             ` Karl Dahlke
2017-08-15  7:08               ` Kevin Carhart
2017-08-15  7:33                 ` Kevin Carhart
2017-08-15  8:33                   ` Karl Dahlke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170715043330.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).