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] window.location.search and String.search
Date: Sun, 02 Jun 2019 02:43:17 -0400	[thread overview]
Message-ID: <20190502024317.eklhad@comcast.net> (raw)
In-Reply-To: <alpine.DEB.2.21.1906011728490.172820@carhart.net>

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

I guess you would have to show me where the location.search(stuff) as a function is, because I find it as a string all over, even in the baseball site.
cloud.js lines 42, 589, 1551, 6062, etc.
If you stretch your mind to the limit you could imagine the getter returning a function that is string.match but it has a toString() function that is the string you want,
so if the code coerces it to a string it will be right, but that's the only way,
and most of the time the code doesn't coerce it to a string so it will be an object and blow up.
So no you can't have your cake and eat it too.
More likely there's something wrong with the parameters being passed in,
like maybe the location object should have been coererced to string before it was passed.
Anyways I'd have to look at it for real.

Karl Dahlke

  reply	other threads:[~2019-06-02  6:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-02  0:42 Kevin Carhart
2019-06-02  6:43 ` Karl Dahlke [this message]
2019-06-02  7:10   ` Kevin Carhart
2019-06-02 12:50     ` Karl Dahlke

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=20190502024317.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).