Hello.
Hope it is ok to ask this question here.
While hunting for bugs in functions that are called during user
activities like drag & drop or scrolling, I always think that there
should be a better way to keep track of the internal values.
The watch() function of firefox would come in handy her
JSNI and Impl.getNameOf (!! not public api !!) are your friends to make
this work.
For cross-browser support, In the future there will be Object.observe but
not sure about the current state.
Also you can probably find some polyfills to make it work today.
On Sun, Mar 23, 2014 at 12:40 AM, Micha
Thank you very much for your answer.
Yes, getNameOf() seems to be exactly what I was looking for.
Looks like support for Object.observe is in Chrome 33 behind the
experimental JavaScript flag, and Polymer provides a library for (all
the other) browsers that don't support Object.observe.
--
http: