Skip to content

Commit 35cbc37

Browse files
authored
Merge pull request #74 from nevkontakte/master
Update playground for GopherJS 1.16.1+go1.16.3
2 parents bc5ba08 + 347ef90 commit 35cbc37

File tree

187 files changed

+77
-69
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+77
-69
lines changed

playground/internal/imports/zstdlib.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,6 +2634,8 @@ var stdlib = map[string]string{
26342634
"jpeg.Options": "image/jpeg",
26352635
"jpeg.Reader": "image/jpeg",
26362636
"jpeg.UnsupportedError": "image/jpeg",
2637+
"js.CopyBytesToGo": "syscall/js",
2638+
"js.CopyBytesToJS": "syscall/js",
26372639
"js.Debugger": "github.com/gopherjs/gopherjs/js",
26382640
// "js.Error" is ambiguous
26392641
"js.Func": "syscall/js",
@@ -2658,8 +2660,6 @@ var stdlib = map[string]string{
26582660
"js.TypeString": "syscall/js",
26592661
"js.TypeSymbol": "syscall/js",
26602662
"js.TypeUndefined": "syscall/js",
2661-
"js.TypedArray": "syscall/js",
2662-
"js.TypedArrayOf": "syscall/js",
26632663
// "js.Undefined" is ambiguous
26642664
"js.Value": "syscall/js",
26652665
"js.ValueError": "syscall/js",

playground/pkg/archive/tar.a.js

1.83 KB
Binary file not shown.

playground/pkg/archive/zip.a.js

19.3 KB
Binary file not shown.

playground/pkg/bufio.a.js

2.7 KB
Binary file not shown.

playground/pkg/bytes.a.js

7.48 KB
Binary file not shown.

playground/pkg/compress/bzip2.a.js

363 Bytes
Binary file not shown.

playground/pkg/compress/flate.a.js

1.61 KB
Binary file not shown.

playground/pkg/compress/gzip.a.js

346 Bytes
Binary file not shown.

playground/pkg/compress/lzw.a.js

288 Bytes
Binary file not shown.

playground/pkg/compress/zlib.a.js

310 Bytes
Binary file not shown.

playground/pkg/container/heap.a.js

300 Bytes
Binary file not shown.

playground/pkg/container/list.a.js

193 Bytes
Binary file not shown.

playground/pkg/container/ring.a.js

175 Bytes
Binary file not shown.

playground/pkg/context.a.js

5.63 KB
Binary file not shown.

playground/pkg/crypto.a.js

1.59 KB
Binary file not shown.

playground/pkg/crypto/aes.a.js

266 Bytes
Binary file not shown.

playground/pkg/crypto/cipher.a.js

834 Bytes
Binary file not shown.

playground/pkg/crypto/des.a.js

2.11 KB
Binary file not shown.

playground/pkg/crypto/dsa.a.js

1.82 KB
Binary file not shown.

playground/pkg/crypto/ecdsa.a.js

8.65 KB
Binary file not shown.

playground/pkg/crypto/ed25519.a.js

15.6 KB
Binary file not shown.
Binary file not shown.

playground/pkg/crypto/elliptic.a.js

15.2 KB
Binary file not shown.

playground/pkg/crypto/hmac.a.js

3.71 KB
Binary file not shown.
187 Bytes
Binary file not shown.
214 Bytes
Binary file not shown.

playground/pkg/crypto/md5.a.js

288 Bytes
Binary file not shown.

playground/pkg/crypto/rand.a.js

540 Bytes
Binary file not shown.

playground/pkg/crypto/rc4.a.js

175 Bytes
Binary file not shown.

playground/pkg/crypto/rsa.a.js

2.92 KB
Binary file not shown.

playground/pkg/crypto/sha1.a.js

-1.28 KB
Binary file not shown.

playground/pkg/crypto/sha256.a.js

-967 Bytes
Binary file not shown.

playground/pkg/crypto/sha512.a.js

-4.38 KB
Binary file not shown.

playground/pkg/crypto/subtle.a.js

349 Bytes
Binary file not shown.

playground/pkg/crypto/tls.a.js

37.6 KB
Binary file not shown.

playground/pkg/crypto/x509.a.js

23.5 KB
Binary file not shown.

playground/pkg/crypto/x509/pkix.a.js

2.18 KB
Binary file not shown.
1.79 KB
Binary file not shown.

playground/pkg/debug/dwarf.a.js

140 KB
Binary file not shown.

playground/pkg/debug/gosym.a.js

8.17 KB
Binary file not shown.

playground/pkg/debug/pe.a.js

28.3 KB
Binary file not shown.

playground/pkg/encoding.a.js

140 Bytes
Binary file not shown.

playground/pkg/encoding/ascii85.a.js

313 Bytes
Binary file not shown.

playground/pkg/encoding/asn1.a.js

9.47 KB
Binary file not shown.

playground/pkg/encoding/base32.a.js

-458 Bytes
Binary file not shown.

playground/pkg/encoding/base64.a.js

-1.27 KB
Binary file not shown.

playground/pkg/encoding/binary.a.js

6.82 KB
Binary file not shown.

playground/pkg/encoding/csv.a.js

1.08 KB
Binary file not shown.

playground/pkg/encoding/gob.a.js

4.59 KB
Binary file not shown.

playground/pkg/encoding/hex.a.js

382 Bytes
Binary file not shown.

playground/pkg/encoding/json.a.js

16.7 KB
Binary file not shown.

playground/pkg/encoding/pem.a.js

481 Bytes
Binary file not shown.

playground/pkg/encoding/xml.a.js

1.8 KB
Binary file not shown.

playground/pkg/errors.a.js

6.32 KB
Binary file not shown.

playground/pkg/flag.a.js

3.96 KB
Binary file not shown.

playground/pkg/fmt.a.js

8.01 KB
Binary file not shown.
516 Bytes
Binary file not shown.
Binary file not shown.

playground/pkg/go/ast.a.js

8.22 KB
Binary file not shown.

playground/pkg/go/doc.a.js

10.1 KB
Binary file not shown.

playground/pkg/go/format.a.js

324 Bytes
Binary file not shown.

playground/pkg/go/parser.a.js

3.21 KB
Binary file not shown.

playground/pkg/go/printer.a.js

4.08 KB
Binary file not shown.

playground/pkg/go/scanner.a.js

5.44 KB
Binary file not shown.

playground/pkg/go/token.a.js

5.53 KB
Binary file not shown.

playground/pkg/hash.a.js

140 Bytes
Binary file not shown.

playground/pkg/hash/adler32.a.js

285 Bytes
Binary file not shown.

playground/pkg/hash/crc32.a.js

1.36 KB
Binary file not shown.

playground/pkg/hash/crc64.a.js

500 Bytes
Binary file not shown.

playground/pkg/hash/fnv.a.js

475 Bytes
Binary file not shown.

playground/pkg/html.a.js

203 Bytes
Binary file not shown.

playground/pkg/html/template.a.js

12.2 KB
Binary file not shown.

playground/pkg/image.a.js

2.71 KB
Binary file not shown.

playground/pkg/image/color.a.js

665 Bytes
Binary file not shown.
98 Bytes
Binary file not shown.

playground/pkg/image/draw.a.js

1.68 KB
Binary file not shown.

playground/pkg/image/gif.a.js

1.53 KB
Binary file not shown.
127 Bytes
Binary file not shown.

playground/pkg/image/jpeg.a.js

-321 Bytes
Binary file not shown.

playground/pkg/image/png.a.js

781 Bytes
Binary file not shown.

playground/pkg/index/suffixarray.a.js

80.6 KB
Binary file not shown.

playground/pkg/internal/bytealg.a.js

5.41 KB
Binary file not shown.

playground/pkg/internal/cpu.a.js

-5.01 KB
Binary file not shown.

playground/pkg/internal/fmtsort.a.js

215 Bytes
Binary file not shown.
16.5 KB
Binary file not shown.

playground/pkg/internal/nettrace.a.js

146 Bytes
Binary file not shown.

playground/pkg/internal/oserror.a.js

1.54 KB
Binary file not shown.

playground/pkg/internal/poll.a.js

26.9 KB
Binary file not shown.

playground/pkg/internal/race.a.js

349 Bytes
Binary file not shown.
179 KB
Binary file not shown.
213 Bytes
Binary file not shown.
Binary file not shown.
2.54 KB
Binary file not shown.

playground/pkg/internal/sysinfo.a.js

2.85 KB
Binary file not shown.

playground/pkg/internal/testlog.a.js

2.72 KB
Binary file not shown.
1.9 KB
Binary file not shown.
Binary file not shown.
-89.6 KB
Binary file not shown.
Binary file not shown.
-48.3 KB
Binary file not shown.
-7.04 KB
Binary file not shown.
Binary file not shown.
-12.8 KB
Binary file not shown.
Binary file not shown.
-12.4 KB
Binary file not shown.
-23.9 KB
Binary file not shown.
-83.3 KB
Binary file not shown.
-225 KB
Binary file not shown.
-75.8 KB
Binary file not shown.
Binary file not shown.
-38.3 KB
Binary file not shown.
-159 KB
Binary file not shown.
-396 KB
Binary file not shown.

playground/pkg/io.a.js

8.58 KB
Binary file not shown.

playground/pkg/io/fs.a.js

43.3 KB
Binary file not shown.

playground/pkg/io/ioutil.a.js

-5.79 KB
Binary file not shown.

playground/pkg/log.a.js

1.5 KB
Binary file not shown.

playground/pkg/math.a.js

7.66 KB
Binary file not shown.

playground/pkg/math/big.a.js

53.4 KB
Binary file not shown.

playground/pkg/math/bits.a.js

2.94 KB
Binary file not shown.

playground/pkg/math/cmplx.a.js

9.11 KB
Binary file not shown.

playground/pkg/math/rand.a.js

-723 Bytes
Binary file not shown.

playground/pkg/mime.a.js

1.91 KB
Binary file not shown.

playground/pkg/mime/multipart.a.js

2.96 KB
Binary file not shown.
457 Bytes
Binary file not shown.

playground/pkg/net.a.js

20.1 KB
Binary file not shown.

playground/pkg/net/http.a.js

113 KB
Binary file not shown.

playground/pkg/net/http/cgi.a.js

4.09 KB
Binary file not shown.
776 Bytes
Binary file not shown.

playground/pkg/net/http/fcgi.a.js

3.7 KB
Binary file not shown.

playground/pkg/net/http/httptest.a.js

2.57 KB
Binary file not shown.
919 Bytes
Binary file not shown.

playground/pkg/net/http/httputil.a.js

7 KB
Binary file not shown.

playground/pkg/net/http/internal.a.js

803 Bytes
Binary file not shown.

playground/pkg/net/mail.a.js

3.41 KB
Binary file not shown.

playground/pkg/net/smtp.a.js

1.67 KB
Binary file not shown.

playground/pkg/net/textproto.a.js

5.88 KB
Binary file not shown.

playground/pkg/net/url.a.js

2.96 KB
Binary file not shown.

playground/pkg/os.a.js

37.6 KB
Binary file not shown.

playground/pkg/os/exec.a.js

4.16 KB
Binary file not shown.

playground/pkg/os/user.a.js

-390 Bytes
Binary file not shown.

playground/pkg/path.a.js

1.5 KB
Binary file not shown.

playground/pkg/path/filepath.a.js

10.2 KB
Binary file not shown.

playground/pkg/reflect.a.js

-6.19 KB
Binary file not shown.

playground/pkg/regexp.a.js

3.99 KB
Binary file not shown.

playground/pkg/regexp/syntax.a.js

1.12 KB
Binary file not shown.

playground/pkg/runtime.a.js

1.24 KB
Binary file not shown.

playground/pkg/runtime/debug.a.js

1.85 KB
Binary file not shown.
132 Bytes
Binary file not shown.

playground/pkg/runtime/trace.a.js

603 Bytes
Binary file not shown.

playground/pkg/sort.a.js

1.45 KB
Binary file not shown.

playground/pkg/strconv.a.js

89.5 KB
Binary file not shown.

playground/pkg/strings.a.js

2.63 KB
Binary file not shown.

playground/pkg/sync.a.js

6.19 KB
Binary file not shown.

playground/pkg/sync/atomic.a.js

810 Bytes
Binary file not shown.

playground/pkg/syscall.a.js

-81.2 KB
Binary file not shown.

playground/pkg/syscall/js.a.js

1.38 KB
Binary file not shown.

playground/pkg/testing.a.js

46.8 KB
Binary file not shown.

playground/pkg/testing/iotest.a.js

20.6 KB
Binary file not shown.

playground/pkg/testing/quick.a.js

591 Bytes
Binary file not shown.

playground/pkg/text/scanner.a.js

3.79 KB
Binary file not shown.

playground/pkg/text/tabwriter.a.js

1.29 KB
Binary file not shown.

playground/pkg/text/template.a.js

18.8 KB
Binary file not shown.
20 KB
Binary file not shown.

playground/pkg/time.a.js

19.5 KB
Binary file not shown.

playground/pkg/unicode.a.js

15.4 KB
Binary file not shown.

playground/pkg/unicode/utf16.a.js

272 Bytes
Binary file not shown.

playground/pkg/unicode/utf8.a.js

2.36 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

playground/playground.js

Lines changed: 74 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

playground/update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ gopherjsgopath=$(go list -f '{{.Root}}' github.com/gopherjs/gopherjs)
2525
# Make a copy of GOROOT that is non-user-writable,
2626
# to prevent any GopherJS packages being written to it for now.
2727
echo "copying GOROOT from $(go env GOROOT) to $tmp/goroot"
28-
cp -a "$(go env GOROOT)" "$tmp/goroot"
28+
cp -a "$(go env GOROOT)/" "$tmp/goroot/"
2929
echo "making our copy of GOROOT non-user-writable for now"
3030
chmod -R -w "$tmp/goroot"
3131
export GOROOT="$tmp/goroot"

0 commit comments

Comments
 (0)