Skip to content

Commit

Permalink
vm: document vm2's changes.
Browse files Browse the repository at this point in the history
- The caveats no longer apply.
- Document options arguments, including `displayErrors` and the
  different things it means in each place.
- Re-did examples to be more on point, e.g. `runInContext` example
  runs multiple scripts in the same context.
- Documented how `vm.createContext`s meaning has substantially changed,
  and is now more of a "contextifier" than a "creator."
- Reordered vm functions to be readable in order; the concept of
  contextifying needs to come before `runInContext` and
  `runInNewContext`.
- Documented new `vm.isContext`.
- Documented the `vm.Script` constructor, instead of `createScript`,
  since factory methods are silly and we wanted to document the class's
  methods anyway.
- Documented `script.runInContext`.
- Change stability to stable, if I may be so bold.
  • Loading branch information
domenic authored and isaacs committed Aug 29, 2013
1 parent fd36576 commit 02fde58
Showing 1 changed file with 176 additions and 146 deletions.
Loading

0 comments on commit 02fde58

Please sign in to comment.