mirror of
https://github.com/robertkrimen/otto
synced 2025-09-28 18:45:22 +08:00
Add note about underscore to the synopsis
This commit is contained in:
parent
2f89d77d37
commit
ca3f3ba323
|
@ -72,6 +72,17 @@ Run JavaScript by entering some source on stdin or by giving otto a filename:
|
|||
|
||||
$ otto example.js
|
||||
|
||||
Optionally include the JavaScript utility-belt library, underscore, with this import:
|
||||
|
||||
import (
|
||||
"github.com/robertkrimen/otto"
|
||||
"github.com/robertkrimen/otto/underscore"
|
||||
)
|
||||
|
||||
// Now every otto runtime will come loaded with underscore
|
||||
|
||||
For more information: http://github.com/robertkrimen/otto/tree/master/underscore
|
||||
|
||||
Caveat Emptor
|
||||
|
||||
* For now, otto is a hybrid ECMA3/ECMA5 interpreter. Parts of the specification are still works in progress.
|
||||
|
|
11
otto.go
11
otto.go
|
@ -69,6 +69,17 @@ Run JavaScript by entering some source on stdin or by giving otto a filename:
|
|||
|
||||
$ otto example.js
|
||||
|
||||
Optionally include the JavaScript utility-belt library, underscore, with this import:
|
||||
|
||||
import (
|
||||
"github.com/robertkrimen/otto"
|
||||
"github.com/robertkrimen/otto/underscore"
|
||||
)
|
||||
|
||||
// Now every otto runtime will come loaded with underscore
|
||||
|
||||
For more information: http://github.com/robertkrimen/otto/tree/master/underscore
|
||||
|
||||
Caveat Emptor
|
||||
|
||||
* For now, otto is a hybrid ECMA3/ECMA5 interpreter. Parts of the specification are still works in progress.
|
||||
|
|
Loading…
Reference in New Issue
Block a user