Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx *engine.RuntimeModuleContext, reg *noderequire.Registry)
Register installs the native require("css-visual-diff") module into a goja require registry.
Types ¶
type MethodSpec ¶
type ProxyMethod ¶
type ProxyRegistry ¶
type ProxyRegistry struct {
// contains filtered or unexported fields
}
ProxyRegistry tracks Go backing values for Goja Proxy objects created by the css-visual-diff JS API. Strict lower-level APIs use it to reject raw objects and unwrap only handles/builders created by this package.
func NewProxyRegistry ¶
func NewProxyRegistry() *ProxyRegistry
type ProxySpec ¶
type ProxySpec struct {
Owner string
Methods map[string]ProxyMethod
MethodOwners map[string]MethodSpec
}
Click to show internal directories.
Click to hide internal directories.