コード例 #1
0
JSValue jsSVGDefsElementXmlspace(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
    JSSVGDefsElement* castedThis = static_cast<JSSVGDefsElement*>(asObject(slot.slotBase()));
    UNUSED_PARAM(exec);
    SVGDefsElement* imp = static_cast<SVGDefsElement*>(castedThis->impl());
    return jsString(exec, imp->xmlspace());
}
コード例 #2
0
static v8::Handle<v8::Value> xmlspaceAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    SVGDefsElement* imp = V8SVGDefsElement::toNative(info.Holder());
    return v8String(imp->xmlspace(), info.GetIsolate());
}