endo
endo copied to clipboard
Port Caja Ejectors/Guards/Trademarks
Per #123, this is a note that there remains some value in eventually porting ejectors, guards, & trademarks from Google Caja.
https://github.com/Agoric/SES/blob/0.5.0/src/old/ejectorsGuardsTrademarks.js
@zarutian , you've started on this as part of a larger project. Where is it?
You mean the ejectors and guards I used in the rectsArea mathHelper?
Sorry to say that the inlined "package" was copy pasted in in its entirety from my junk-drawer text file. And I didnt even look at Caja when writing those, just thought how E would have done it and translated into javascript.
I suppose I could flesh out more of them.
References https://groups.google.com/g/ses-strategy/c/JqcOC6f-a6o/m/RyvlRiT8AAAJ
Hi @zarutian , thanks. In that case, my inclination is to start from the old Caja code at https://github.com/Agoric/SES/blob/0.5.0/src/old/ejectorsGuardsTrademarks.js . Please have a look and see if it works for you too. Thanks.
See
- https://github.com/endojs/endo/issues/908