In my experience, it is very common to want to process changeRecords that were created, even if you letter turned off the observer. Turning off observers (in particular, temporarily), can be useful for avoiding certain kinds of cycles when creating bidrectional links.
On Sat, Nov 3, 2012 at 11:19 PM, Rafael Weinstein <[email protected]>wrote: > If you wish, you can maintain a WeakMap of observed objects. If you > wish to never process a changeRecord for an object you've stopped > observing, you can simply check the WeakMap to see if it's still > observed. > > On Fri, Nov 2, 2012 at 9:50 PM, Andrea Giammarchi > <[email protected]> wrote: > > fair enough, but I want to know what I am seeing is recorded and the TV > is > > switched off ... how? Flagging records? Flagging objects? Via > getNotifier ? > > > > > > On Fri, Nov 2, 2012 at 11:56 AM, Erik Arvidsson < > [email protected]> > > wrote: > >> > >> On Fri, Nov 2, 2012 at 12:22 PM, Andrea Giammarchi > >> <[email protected]> wrote: > >> > How to make this simple ... if I switch off the TV I don't expect any > >> > eco > >> > after ... I don't care about the program, it should not bother me. > >> > >> If you stick to the TV analogy... You don't want Tivo to erase what it > >> just recorded just because you stopped recording. > >> > >> -- > >> erik > > > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > -- Yehuda Katz (ph) 718.877.1325
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

