Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Ruby object creation in JSland

#20

This should work, but doesn't:


ctx = Johnson::Context
ctx[:Foo] = Foo

assert_not_nil(ctx.evaluate("Foo.new"))

Reported by John Barnette · April 1st, 2008 @ 04:29 PM

State: resolved
Milestone: none
Assigned to: John Barnette John Barnette

Activity

  1. John Barnette
    John Barnette
    • State changed from new to resolved

    Not quite. It at least needs to be Foo.new(), which is reasonable.

    April 1st, 2008 @ 10:18 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.