From 0dc27dcdec72c1c2e12fb49fb95dceca45e84115 Mon Sep 17 00:00:00 2001 From: Hanks Date: Tue, 15 Aug 2017 16:42:28 +0800 Subject: [PATCH] feat(weex): return instance in createInstance --- src/platforms/weex/entry-framework.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platforms/weex/entry-framework.js b/src/platforms/weex/entry-framework.js index 14e1b189cbc..303ad36b5f0 100644 --- a/src/platforms/weex/entry-framework.js +++ b/src/platforms/weex/entry-framework.js @@ -104,6 +104,8 @@ export function createInstance ( // Send `createFinish` signal to native. instance.document.taskCenter.send('dom', { action: 'createFinish' }, []) + + return instance } /**