mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
go.tools/cmd/present: track page views for every slide.
LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/124720043
This commit is contained in:
parent
b31dcd1655
commit
11569f39ea
@ -161,6 +161,8 @@ function updateSlideClass(slideNo, className) {
|
||||
};
|
||||
|
||||
function updateSlides() {
|
||||
if (window.trackPageview) window.trackPageview();
|
||||
|
||||
for (var i = 0; i < slideEls.length; i++) {
|
||||
switch (i) {
|
||||
case curSlide - 2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user