Skip to content

Commit e6786f2

Browse files
committed
Use a modified version of cmd/api tool to include gopherjs/js package.
1 parent 2aa267a commit e6786f2

File tree

5 files changed

+930
-0
lines changed

5 files changed

+930
-0
lines changed

playground/imports/gen.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:generate go run mkapi.go -output=gojs.txt -gopath github.com/gopherjs/gopherjs/js
12
//go:generate go run mkstdlib.go -output=zstdlib
23

34
package imports

playground/imports/gojs.txt

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
pkg github.com/gopherjs/gopherjs/js, func Debugger()
2+
pkg github.com/gopherjs/gopherjs/js, func InternalObject(interface{}) *Object
3+
pkg github.com/gopherjs/gopherjs/js, func Keys(*Object) []string
4+
pkg github.com/gopherjs/gopherjs/js, func MakeFunc(func(*Object, []*Object) interface{}) *Object
5+
pkg github.com/gopherjs/gopherjs/js, func MakeWrapper(interface{}) *Object
6+
pkg github.com/gopherjs/gopherjs/js, func NewArrayBuffer([]uint8) *Object
7+
pkg github.com/gopherjs/gopherjs/js, method (*Error) Error() string
8+
pkg github.com/gopherjs/gopherjs/js, method (*Error) Stack() string
9+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Bool() bool
10+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Call(string, ...interface{}) *Object
11+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Delete(string)
12+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Float() float64
13+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Get(string) *Object
14+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Index(int) *Object
15+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Int() int
16+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Int64() int64
17+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Interface() interface{}
18+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Invoke(...interface{}) *Object
19+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Length() int
20+
pkg github.com/gopherjs/gopherjs/js, method (*Object) New(...interface{}) *Object
21+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Set(string, interface{})
22+
pkg github.com/gopherjs/gopherjs/js, method (*Object) SetIndex(int, interface{})
23+
pkg github.com/gopherjs/gopherjs/js, method (*Object) String() string
24+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Uint64() uint64
25+
pkg github.com/gopherjs/gopherjs/js, method (*Object) Unsafe() uintptr
26+
pkg github.com/gopherjs/gopherjs/js, method (Error) Bool() bool
27+
pkg github.com/gopherjs/gopherjs/js, method (Error) Call(string, ...interface{}) *Object
28+
pkg github.com/gopherjs/gopherjs/js, method (Error) Delete(string)
29+
pkg github.com/gopherjs/gopherjs/js, method (Error) Float() float64
30+
pkg github.com/gopherjs/gopherjs/js, method (Error) Get(string) *Object
31+
pkg github.com/gopherjs/gopherjs/js, method (Error) Index(int) *Object
32+
pkg github.com/gopherjs/gopherjs/js, method (Error) Int() int
33+
pkg github.com/gopherjs/gopherjs/js, method (Error) Int64() int64
34+
pkg github.com/gopherjs/gopherjs/js, method (Error) Interface() interface{}
35+
pkg github.com/gopherjs/gopherjs/js, method (Error) Invoke(...interface{}) *Object
36+
pkg github.com/gopherjs/gopherjs/js, method (Error) Length() int
37+
pkg github.com/gopherjs/gopherjs/js, method (Error) New(...interface{}) *Object
38+
pkg github.com/gopherjs/gopherjs/js, method (Error) Set(string, interface{})
39+
pkg github.com/gopherjs/gopherjs/js, method (Error) SetIndex(int, interface{})
40+
pkg github.com/gopherjs/gopherjs/js, method (Error) String() string
41+
pkg github.com/gopherjs/gopherjs/js, method (Error) Uint64() uint64
42+
pkg github.com/gopherjs/gopherjs/js, method (Error) Unsafe() uintptr
43+
pkg github.com/gopherjs/gopherjs/js, type Error struct
44+
pkg github.com/gopherjs/gopherjs/js, type Error struct, embedded *Object
45+
pkg github.com/gopherjs/gopherjs/js, type M map[string]interface{}
46+
pkg github.com/gopherjs/gopherjs/js, type Object struct
47+
pkg github.com/gopherjs/gopherjs/js, type S []interface{}
48+
pkg github.com/gopherjs/gopherjs/js, var Global *Object
49+
pkg github.com/gopherjs/gopherjs/js, var Module *Object
50+
pkg github.com/gopherjs/gopherjs/js, var Undefined *Object

0 commit comments

Comments
 (0)