remove test code

This commit is contained in:
王劲鹏 2021-02-08 14:46:05 +08:00 committed by osborn
parent 47cf75a0aa
commit 60218cd8dd

View File

@ -37,9 +37,6 @@ void DoricNativeJSE::injectGlobalJSFunction(QString name, QObject *function,
QJSValue DoricNativeJSE::invokeObject(QString objectName, QString functionName,
QVariantList arguments) {
QString script = DoricUtils::readAssetFile("/test", "test.js");
mJSEngine.evaluate(script);
QJSValue object = mJSEngine.evaluate(objectName);
QJSValue function = object.property(functionName);