Ah! Nevermind. nameGetter is static.
static JSC::JSValue nameGetter(JSC::ExecState*, const
JSC::Identifier&, const JSC::PropertySlot&);
-eric
On Thu, Jul 23, 2009 at 3:04 PM, Eric Seidel wrote:
> Is it possible to move a name getter onto a different JavaScript object?
>
>
> Example:
> JSVa
Is it possible to move a name getter onto a different JavaScript object?
Example:
JSValue JSHTMLFormElement::nameGetter(ExecState* exec, const
Identifier& propertyName, const PropertySlot& slot)
{
JSHTMLElement* jsForm =
static_cast(asObject(slot.slotBase()));
HTMLFormElement* form = stat
2 matches
Mail list logo