#include "Backends.h" #include "backend/ImageBackend.h" #include "backend/PdfBackend.h" #include "backend/SvgBackend.h" using namespace v8; void Backends::Initialize(Local target) { Nan::HandleScope scope; Local obj = Nan::New(); ImageBackend::Initialize(obj); PdfBackend::Initialize(obj); SvgBackend::Initialize(obj); Nan::Set(target, Nan::New("Backends").ToLocalChecked(), obj).Check(); }