[x/tour] tour: kill running code snippets when changing page

When a new page is loaded, the backend is told to kill still running code snippets,
known to the frontend at this point.

Fixes golang/go#16418

Change-Id: Ie4c246b6bf9f566ef7523e35b44395a1abfd4e41
Reviewed-on: https://go-review.googlesource.com/98675
Reviewed-by: Andrew Bonventre <andybons@golang.org>
X-Tour-Commit: 057704a6290c29d3b08f62f96d3e2db6932f2ef5
1 file changed
tree: 07c20a9987767b52c40563a2d0ae8e6964aefa2d
  1. tour/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.