On 2013/05/04 01:14:43, felix8a wrote:
lgtm, but I'm finding it awkward to verify that all privates have had
preventExtensions called at the right time. is there some way to have
it happen
in just one place like amplify or a variant of amplify?
Unfortunately, there is no such place currently. Specifically, there is
no general single place which is 'after the constructor is done', due to
the presence of subtypes. In the case of tame nodes specifically,
finishNode is that single place (nodes are essentially created as
finishNode(new tamingCtor(node))) but there is no such place for all
types-which-use-Confidence.
It would be nice if there *was* such a place. Do you have any
suggestions for how to cause it to exist? I don't have any good ideas
yet.
https://codereview.appspot.com/9078044/
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.