From 15a09eccec31191b6e142ede1a5bdb790963dc1b Mon Sep 17 00:00:00 2001 From: Jonathan Hall Date: Wed, 7 Sep 2016 13:08:27 +0200 Subject: [PATCH] Update comments to reflect GopherJS build constraints --- spew/bypass.go | 4 ++-- spew/bypasssafe.go | 4 ++-- spew/internalunsafe_test.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spew/bypass.go b/spew/bypass.go index 96f29b6..1de6e02 100644 --- a/spew/bypass.go +++ b/spew/bypass.go @@ -13,8 +13,8 @@ // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // NOTE: Due to the following build constraints, this file will only be compiled -// when the code is not running on Google App Engine and "-tags disableunsafe" -// is not added to the go build command line. +// when the code is not running on Google App Engine, compiled by GopherJS, and +// "-tags disableunsafe" is not added to the go build command line. // +build !appengine,!disableunsafe,!js package spew diff --git a/spew/bypasssafe.go b/spew/bypasssafe.go index 4fd9b94..adef4c4 100644 --- a/spew/bypasssafe.go +++ b/spew/bypasssafe.go @@ -13,8 +13,8 @@ // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // NOTE: Due to the following build constraints, this file will only be compiled -// when either the code is running on Google App Engine or "-tags disableunsafe" -// is added to the go build command line. +// when the code is running on Google App Engine, compiled by GopherJS, or +// "-tags disableunsafe" is added to the go build command line. // +build appengine disableunsafe js package spew diff --git a/spew/internalunsafe_test.go b/spew/internalunsafe_test.go index 8c45e16..ddaa41d 100644 --- a/spew/internalunsafe_test.go +++ b/spew/internalunsafe_test.go @@ -13,8 +13,8 @@ // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // NOTE: Due to the following build constraints, this file will only be compiled -// when the code is not running on Google App Engine and "-tags disableunsafe" -// is not added to the go build command line. +// when the code is not running on Google App Engine, compiled by GopherJS, and +// "-tags disableunsafe" is not added to the go build command line. // +build !appengine,!disableunsafe,!js /*