John Barnette
Account owner
John Barnette's latest activity
Sunday, April 06 2008
-
John Barnette created the ticket at 9:39 PMIt's pretty easy to decide how proxied rubyland arrays should act when they're enumerated, but I'm really not sure about anything else.
Friday, April 04 2008
16
Regular expressions
was updated
in Johnson
-
- Assigned user changed from John Barnette to Aaron Patterson
- State changed from new to open
Thursday, April 03 2008
10
RubyProxy#length (and #size) Masking Problems
was updated
in Johnson
-
-
- State changed from new to open
- Title changed from Proxy#length (and #size) Masking Problems to RubyProxy#length (and #size) Masking Problems
I think this is okay for 1.0. Let's address it when something blows up. We can always provide a
jsproperty that sidesteps all of the proxy methods:# calls/g...
27
Defining new properties on JSland proxies is broken
was updated
in Johnson
-
- Title changed from Defining new properties on JSland proxies to Defining new properties on JSland proxies is broken
-
- State changed from new to open
This is because the
JSProxydefines property getters and setters itself, passing them all through to Ruby. What we should really do:Setting the
fooproperty... -
John Barnette created the ticket at 10:21 AMRubyland:
class Foo; end ctx = Johnson::Context.new ctx[:foo] = Foo.newJSland:
foo.bar = "baz!" foo.bar // => null
24
Proxied procs aren't getting cleaned up
was updated
in Johnson
-
John Barnette commented at 10:14 AMYeah, we should just reach in to js_FunctionClass and inject a custom finalize stub. See if it has the magical "this is a Ruby proc" marker property, and, if i...