From 2161cc2cf56d7b4d79b43db4b364afe2f5c9665f Mon Sep 17 00:00:00 2001 From: Robert Krimen Date: Wed, 10 Oct 2012 16:47:01 -0700 Subject: [PATCH] Add Caveat Emptor section --- README.markdown | 8 ++++++++ otto.go | 8 ++++++++ underscore/README.markdown | 2 +- underscore/underscore.go | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 41213cb..5e47ae8 100644 --- a/README.markdown +++ b/README.markdown @@ -70,6 +70,14 @@ Run JavaScript by entering some source on stdin or by giving otto a filename: $ otto example.js +Caveat Emptor + +* For now, otto is a hybrid ECMA3/ECMA5 interpreter. Parts of the specification are still works in progress. +* For example, "use strict" will parse, but does nothing. +* Error reporting needs to be improved. +* Number.prototype.{toFixed,toExponential,toPrecision} are missing. +* Really, error reporting could use some improvement. + ## Usage #### type FunctionCall diff --git a/otto.go b/otto.go index f4ca166..7a605bb 100644 --- a/otto.go +++ b/otto.go @@ -69,6 +69,14 @@ Run JavaScript by entering some source on stdin or by giving otto a filename: $ otto example.js +Caveat Emptor + +* For now, otto is a hybrid ECMA3/ECMA5 interpreter. Parts of the specification are still works in progress. +* For example, "use strict" will parse, but does nothing. +* Error reporting needs to be improved. +* Number.prototype.{toFixed,toExponential,toPrecision} are missing. +* Really, error reporting could use some improvement. + */ package otto diff --git a/underscore/README.markdown b/underscore/README.markdown index 801f853..02aedd9 100644 --- a/underscore/README.markdown +++ b/underscore/README.markdown @@ -1,6 +1,6 @@ # underscore -- -Package underscore contains the source for the underscore utility-belt library for JavaScript. +Package underscore contains the source for the JavaScript utility-belt library. import ( _ "github.com/robertkrimen/otto/underscore" diff --git a/underscore/underscore.go b/underscore/underscore.go index 5b99a89..f0f05d7 100644 --- a/underscore/underscore.go +++ b/underscore/underscore.go @@ -1,5 +1,5 @@ /* -Package underscore contains the source for the underscore utility-belt library for JavaScript. +Package underscore contains the source for the JavaScript utility-belt library. import ( _ "github.com/robertkrimen/otto/underscore"