From: Chris Brannon <chris@the-brannons.com>
To: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] getters and setters in straight javascript
Date: Sat, 13 Jun 2015 14:39:07 -0700 [thread overview]
Message-ID: <87y4jn2sqs.fsf@mushroom.localdomain> (raw)
In-Reply-To: <20150513044849.eklhad@comcast.net> (Karl Dahlke's message of "Sat, 13 Jun 2015 04:48:49 -0400")
Karl Dahlke <eklhad@comcast.net> writes:
> My question is, could some of this be done by generic javascript
> in the sourcefile startwindow.js?
> Does it really have to be native C?
There's nothing Mozilla specific about defineProperty. And yes, a
property can be defined with both a getter and setter. So it seems that
the answer is yes.
-- Chris
next prev parent reply other threads:[~2015-06-13 21:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-13 8:48 Karl Dahlke
2015-06-13 10:50 ` Karl Dahlke
2015-06-14 9:13 ` Adam Thompson
2015-06-13 21:39 ` Chris Brannon [this message]
2015-06-14 9:11 ` Karl Dahlke
2015-06-14 9:31 ` Adam Thompson
2015-06-14 15:04 ` Karl Dahlke
2015-06-15 19:59 ` Adam Thompson
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=87y4jn2sqs.fsf@mushroom.localdomain \
--to=chris@the-brannons.com \
--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).