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

16 Commits

Author SHA1 Message Date
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
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
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
42d43e0878 Make sure to error out early on ReferenceError 2012-10-07 18:47:13 -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
4a8c7ffc00 Initial commit 2012-10-05 18:47:53 -07:00