1
0
mirror of https://github.com/robertkrimen/otto synced 2025-09-28 18:45:22 +08:00
Commit Graph

43 Commits

Author SHA1 Message Date
Robert Krimen
d4c606a2a0 Add test262 testing environment
http://test262.ecmascript.org/
2012-10-16 10:07:04 -07:00
Robert Krimen
defac5b22e Fix prototype property being read-only
Fix #3
2012-10-15 22:12:36 -07:00
Robert Krimen
235c19bd71 Substitute undefined for failed captures in String.replace
When String.replace(...) is called with a replacement function.
Again, similar to the scenario in #2.
2012-10-14 22:50:17 -07:00
Robert Krimen
b718c5ec2a Handle missing captures gracefully in String.replace
This is related to #2
2012-10-14 22:33:22 -07:00
Robert Krimen
a12391834e Sometimes RegExp captures can fail, detect this
Fix #2 (In .exec so far)
2012-10-14 21:45:38 -07:00
Robert Krimen
89e26f042e Allow empty test/update in for statements
Fix #1
2012-10-14 10:42:06 -07:00
Robert Krimen
7dfbf6ab13 Better regular expression syntax checking
And a limitation elaboration
2012-10-12 18:55:41 -07:00
Robert Krimen
b6f8642fe2 Add note about regular expression limitation 2012-10-11 22:28:41 -07:00
Robert Krimen
776f4f96c5 Catch *_syntaxError 2012-10-11 21:44:56 -07:00
Robert Krimen
02929cbeb1 Shortcut the production of Object.Value() 2012-10-11 18:22:00 -07:00
Robert Krimen
c57edbfe2b Alter Object.Call to be more in line with .Get, .Set 2012-10-11 17:57:51 -07:00
Robert Krimen
8fbfeead4b Correct import statement 2012-10-10 22:57:53 -07:00
Robert Krimen
ca3f3ba323 Add note about underscore to the synopsis 2012-10-10 18:23:54 -07:00
Robert Krimen
2f89d77d37 Add import line 2012-10-10 17:38:56 -07:00
Robert Krimen
2161cc2cf5 Add Caveat Emptor section 2012-10-10 16:47:01 -07:00
Robert Krimen
49dc256af8 Add README.markdown for registry 2012-10-10 16:17:36 -07:00
Robert Krimen
84b4aee178 Add README for underscore 2012-10-10 16:11:46 -07:00
Robert Krimen
0b4d73118d Add note about the registry package 2012-10-10 16:10:07 -07:00
Robert Krimen
1fd249d119 Add documentation to underscore 2012-10-10 16:07:50 -07:00
Robert Krimen
c2851c6b6e Add underscore to the commandline 2012-10-10 15:58:28 -07:00
Robert Krimen
5958af6914 Add registry package
Automatic inclusion of source on import
2012-10-10 15:46:10 -07:00
Robert Krimen
0b82701409 Add documentation to underscore.go 2012-10-10 15:06:15 -07:00
Robert Krimen
f8a0d426f2 Move underscore into otto/underscore 2012-10-10 14:58:35 -07:00
Robert Krimen
2d707b5a97 Don't get carried away with Markdown in godoc 2012-10-10 14:52:52 -07:00
Robert Krimen
b7a70e7470 Add note about commandline otto 2012-10-09 18:58:11 -07:00
Robert Krimen
89e6086ff6 Add embedding example & isolate synopsis testing 2012-10-09 18:47:39 -07:00
Robert Krimen
a31375b07b Adjusted commentary on evaluateIdentifier 2012-10-09 17:49:33 -07:00
Robert Krimen
0134729b74 Fixed synopsis test 2012-10-09 17:27:43 -07:00
Robert Krimen
c6e45a7118 Change getIdentifierReference to accept a node argument
To track/report where errors are coming from
2012-10-09 17:26:08 -07:00
Robert Krimen
ade6a169be Partially fix ReferenceError origin reporting 2012-10-09 17:19:29 -07:00
Robert Krimen
326264ae3e Line tracking for error reporting 2012-10-09 16:41:45 -07:00
Robert Krimen
f81f540a01 godocdown 2012-10-08 21:46:25 -07:00
Robert Krimen
ff5fc43690 Add Date.toUTCString 2012-10-07 23:05:15 -07:00
Robert Krimen
dc0406aeb7 setSeconds/Minutes/Hours/Date, etc. 2012-10-07 23:02:25 -07:00
Robert Krimen
fa0f2abc44 Use new date adjustment technique 2012-10-07 22:54:39 -07:00
Robert Krimen
e35b7985f6 Implement Date.setMonth/setUTCMonth 2012-10-07 19:16:58 -07:00
Robert Krimen
d908ab1a55 Always rebuild otto/otto 2012-10-07 19:02:14 -07:00
Robert Krimen
42d43e0878 Make sure to error out early on ReferenceError 2012-10-07 18:47:13 -07:00
Robert Krimen
0681483ac6 Fix <return> => <throw> 2012-10-07 18:43:56 -07:00
Robert Krimen
979a87a79d Fix casing on evaluateNew 2012-10-07 18:39:12 -07:00
Robert Krimen
a101717e89 Test for not erroring out early 2012-10-07 18:30:59 -07:00
Robert Krimen
95c6f3edec Markdown-ify README 2012-10-07 17:48:18 -07:00
Robert Krimen
4a8c7ffc00 Initial commit 2012-10-05 18:47:53 -07:00