Skip to content

Commit 64123cc

Browse files
ExE-BossTimothyGu
andauthored
docs(readme): Simplify example wrapper code
Co-Authored-By: Timothy Gu <timothygu99@gmail.com>
1 parent 839fa5e commit 64123cc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ will generate a JavaScript wrapper class file roughly like this:
2626

2727
```js
2828
const conversions = require("webidl-conversions");
29-
const utils = require("./utils.js");
30-
31-
const { implSymbol, ctorRegistrySymbol } = utils;
29+
const { implSymbol, ctorRegistrySymbol } = require("./utils.js");
3230

3331
const Impl = require("./SomeInterface-impl.js").implementation;
3432

0 commit comments

Comments
 (0)