https://codereview.appspot.com/11871043/diff/1/src/com/google/caja/plugin/domado.js
File src/com/google/caja/plugin/domado.js (right):

https://codereview.appspot.com/11871043/diff/1/src/com/google/caja/plugin/domado.js#newcode2005
src/com/google/caja/plugin/domado.js:2005: cssVirtualization = {
On 2013/07/25 21:35:17, kpreid2 wrote:
This is duplicated code. The 'virtualization' object is already this;
just add
the needed pieces to it. Maybe rename 'rewriteUri' to
'rewriteUriForCss' to
clarify the special behavior.

The one at L 2109?
Hmm.  I think the baseUri needs to be sensitive to setBase.
Is it kosher to use Object.create to derive cssVirtualization from
virtualization each time sanitize is called?

https://codereview.appspot.com/11871043/

--

--- 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.


Reply via email to