-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
Description
- What version of Go are you using (
go version
)?
go version go1.5 darwin/amd64 - What operating system and processor architecture are you using (
go env
)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/glorieux/Workspace/gocode"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT=""
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1" - What did you do?
Install present.
Create a really simple slide presentation.
Runpresent
Open Safari. - What did you expect to see?
I expected the slides to display on Safari. - What did you see instead?
It did not display and raised the following error on the console:SyntaxError: Unexpected identifier 'i'. Expected either 'in' or 'of' in enumeration syntax. (anonymous function)slides.js:540
- Fix
Since Safari is not yet supporting ES6let
statements they need to be replaced byvar
ones.
Looks like the bug was introduced by https://go-review.googlesource.com/21488