https://codereview.appspot.com/6827077/diff/37001/src/com/google/caja/ses/startSES.js
File src/com/google/caja/ses/startSES.js (right):

https://codereview.appspot.com/6827077/diff/37001/src/com/google/caja/ses/startSES.js#newcode211
src/com/google/caja/ses/startSES.js:211: mitigateGotchas,
Please make this into opt_mitigateGotchas and (early enough) in the
startSES body put

 var mitigateGotchas = opt_mitigateGotchas || function(src) { return
''+src; };

This way, SES users such as explicit.html do not need to load
mitigateGotchas and its support (parser, etc) if they know they don't
need it. (Note that this CL does not edit explicit.html, so without some
change it would have broken that anyway.)

https://codereview.appspot.com/6827077/

Reply via email to