1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-05 19:19:10 +08:00
otto/registry
2013-06-23 15:29:33 +02:00
..
README.markdown Add Array.reduceRight (sdgoij) 2013-06-23 15:29:33 +02:00
registry.go Prevent slurp of underscore entirely if disabled 2013-02-04 22:10:52 -08:00

registry

-- import "github.com/robertkrimen/otto/registry"

Package registry is an expirmental package to facillitate altering the otto runtime via import.

This interface can change at any time.

Usage

func Apply

func Apply(callback func(Entry))

type Entry

type Entry struct {
}

func Register

func Register(source func() string) *Entry

func (*Entry) Disable

func (self *Entry) Disable()

func (*Entry) Enable

func (self *Entry) Enable()

func (Entry) Source

func (self Entry) Source() string

-- godocdown http://github.com/robertkrimen/godocdown