From: Kevin Carhart <kevin@carhart.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] URL.prototype.slice
Date: Sat, 17 Feb 2018 02:52:51 -0800 (PST) [thread overview]
Message-ID: <alpine.LRH.2.03.1802170245570.24849@carhart.net> (raw)
In-Reply-To: <20180116115901.eklhad@comcast.net>
Not related to the new release. It could wait or go in.
I pulled up yahoo.com and several others, because I was curious how we're
doing with the top websites.
Some code in this file is trying to call "slice" on an object of the URL
class.
execute yui-min.js at 1
yui-min.js line 86: TypeError: undefined not callable (property 'slice' of
[object Object])
execution complete
We have given it the other string functions like substr, etc, but could we
also pop this in:
mw0.URL.prototype.slice = function(from, to) {
return this.toString().slice(from, to);
}
It makes the error at 86 go away and a couple of others too.
K
next prev parent reply other threads:[~2018-02-17 10:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-14 15:59 [Edbrowse-dev] css on demand Karl Dahlke
2018-02-14 19:21 ` Adam Thompson
2018-02-14 19:50 ` Chuck Hallenbeck
2018-02-16 16:59 ` Karl Dahlke
2018-02-17 10:52 ` Kevin Carhart [this message]
2018-02-17 11:25 ` [Edbrowse-dev] URL.prototype.slice Karl Dahlke
2018-02-15 6:24 ` [Edbrowse-dev] css on demand Kevin Carhart
2018-02-15 8:17 ` Karl Dahlke
2018-02-15 8:34 ` Kevin Carhart
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=alpine.LRH.2.03.1802170245570.24849@carhart.net \
--to=kevin@carhart.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).