Skip to content

Commit 302d7fc

Browse files
committed
remove what seems like a leftover or a deviation from interface described earlier from the example
1 parent 4e23e1e commit 302d7fc

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,7 @@ New `Global` provide an alternate solution: evaluate modules or scripts in a
129129
separate global scope with shared intrinsics.
130130

131131
```js
132-
const dslGlobal = const new Global({
133-
globalThis: {
134-
__proto__: globalThis,
135-
describe,
136-
before,
137-
after,
138-
}
139-
});
132+
const dslGlobal = const new Global();
140133
dslGlobal.describe = () => {}
141134
dslGlobal.before = () => {}
142135
dslGlobal.after = () => {};

0 commit comments

Comments
 (0)