Experimental implementation of Object.observe & JS Utility library now available

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Aug 14 15:08:08 PDT 2012


so write on specs that record.object[record.name] won't point to the actual
value ... and let's see the outcome ( I mean ... sorry, what? )

if oldValue is granted, currentValue should be granted as well I guess, at
least per each notification stack. How come this is not the case?

On Tue, Aug 14, 2012 at 11:04 PM, Erik Arvidsson
<erik.arvidsson at gmail.com>wrote:

> On Tue, Aug 14, 2012 at 5:31 PM, Andrea Giammarchi
> <andrea.giammarchi at gmail.com> wrote:
> > if fixed-ish shape is not a performance issue then is fine, still I would
> > put in this fixed-ish shape a currentValue property, not only the
> oldValue
> > one, to avoid constantly and repeated checks to record.object[
> record.name]
>
> The idea behind not having currentValue was that it exposes
> information that cannot be gotten using polling. I'm not sure if that
> is really true because the current value will be exposed as the old
> value when the next change record is delivered.
>
> --
> erik
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120814/928e8210/attachment.html>


More information about the es-discuss mailing list