remove test code
This commit is contained in:
parent
47cf75a0aa
commit
60218cd8dd
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user