commit | 5d76f8ce4fe6027ed92e3f05471193f1f595906d | [log] [tgz] |
---|---|---|
author | Chris Broadfoot <cbro@golang.org> | Tue Jan 10 14:20:17 2017 -0800 |
committer | Chris Broadfoot <cbro@golang.org> | Tue Jan 10 22:41:44 2017 +0000 |
tree | b46f4381332d7efebeaa66937af9ab1d55ab5d71 | |
parent | 116266f628c17291116b53f99f0bd7f2773bf30c [diff] |
static: detect platform to hide/show unix/windows instructions Currently both "testUnix" and "testWindows" elements are shown simultaneously. This change detects the correct platform to hide/show the appropriate elements based on the viewer's browser. Change-Id: I3afee7507d61b2d756127166caede85adcd531b8 Reviewed-on: https://go-review.googlesource.com/35103 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>