Пример #1
0
static v8::Handle<v8::Value> descriptionAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.DOMPlugin.description._get");
    DOMPlugin* imp = V8DOMPlugin::toNative(info.Holder());
    return v8String(imp->description());
}
static v8::Handle<v8::Value> descriptionAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    DOMPlugin* imp = V8DOMPlugin::toNative(info.Holder());
    return v8String(imp->description(), info.GetIsolate());
}