Skip to content
Permalink
Browse files

doc: fix, unify, formalize, and amplify vm.md

`vm` module API heavily reuses common code, but the doc seems
to be a bit out of date: some options are listed in wrong places,
some options and history entries are missed.

Also some fragments need to be formalized and unified.

PR-URL: #25422
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
  • Loading branch information...
vsemozhetbyt authored and addaleax committed Jan 9, 2019
1 parent ebd2027 commit 3db7a9ffbae71623232de535f075b07a3d2a46b5
Showing with 211 additions and 86 deletions.
  1. +1 −1 doc/api/v8.md
  2. +203 −85 doc/api/vm.md
  3. +7 −0 tools/doc/type-parser.js
@@ -414,7 +414,7 @@ A subclass of [`Deserializer`][] corresponding to the format written by
[`serializer.releaseBuffer()`]: #v8_serializer_releasebuffer
[`serializer.transferArrayBuffer()`]: #v8_serializer_transferarraybuffer_id_arraybuffer
[`serializer.writeRawBytes()`]: #v8_serializer_writerawbytes_buffer
[`vm.Script`]: vm.html#vm_new_vm_script_code_options
[`vm.Script`]: vm.html#vm_constructor_new_vm_script_code_options
[HTML structured clone algorithm]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
[V8]: https://developers.google.com/v8/
[here]: https://github.com/thlorenz/v8-flags/blob/master/flags-0.11.md

0 comments on commit 3db7a9f

Please sign in to comment.
You can’t perform that action at this time.