Robert Krimen
adf21d0208
No rush to change the interface of Value.Export()
2013-05-15 19:30:39 -07:00
Robert Krimen
faaed09553
Change Export() to have new interface and slightly different behavior
2013-05-15 19:04:39 -07:00
Robert Krimen
7e2b4f2063
Rewrite of property handling to be more robust and compliant
...
* No more _stash
* Now using a "virtual table" system via _objectClass
* Make Array.concat GoArray compatible (via .isArray())
Fix #16
2013-05-12 14:14:51 -07:00
Robert Krimen
6c5259a651
Add Object.toLocaleString
2013-05-02 21:06:22 +02:00
Robert Krimen
4c85422172
Make encodeURI correspond to the 15.1.3.3 algorithm and encodeURIComponent ito 15.1.3.4
2013-05-02 20:23:06 +02:00
Robert Krimen
f3da7237f2
Add Object.getPrototypeOf
2013-03-05 12:03:33 -08:00
Robert Krimen
795cc4935d
Add remarks about ToValue & Otto.ToValue
2013-02-04 10:41:17 -08:00
Robert Krimen
a879744c20
Add Go <=> JavaScript type interaction
...
Via reflection for struct, map, and slice/array
Fix #10
2013-02-04 10:31:44 -08:00
Robert Krimen
20d2e8bba6
gofmt
...
Ugh.
2013-01-25 09:59:42 -08:00
Marty Schoch
5bac9a7a34
add Export capability to javascript Value
...
this allows you to export a javascript Value back
for use in go. the result structure should be the
same as if you serialized to JSON in javascript
and then Unmarshal'd those bytes in go
2012-11-07 08:18:46 -05:00
Robert Krimen
3c93384f5c
Cleanup of stash, property, and object
...
Use octal to designate write/enumerate/configure (experimental)
Move extensibility responsibility into the stash
Rename propertyStash => objectStash (be congruent with arrayStash, etc.)
Get rid of a bunch of useless methods
Privatize everything ([A-Z] => [a-z_])
gofmt
2012-10-26 15:47:19 -07:00
Robert Krimen
02929cbeb1
Shortcut the production of Object.Value()
2012-10-11 18:22:00 -07:00
Robert Krimen
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00