Skip to content

Commit

Permalink
docs(ses): Missing lockdown in Compartment doc (#2601)
Browse files Browse the repository at this point in the history
This addresses a speed bump in our documentation of how to use SES, as
seen at
#1281 (comment)
  • Loading branch information
kriskowal authored Oct 23, 2024
2 parents a678586 + 03922df commit fad5c68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ function on `globalThis`.
```js
import 'ses';

lockdown();

const c = new Compartment({
globals: {
print: harden(console.log),
Expand Down

0 comments on commit fad5c68

Please sign in to comment.