//
#include "DNUtils.h"
+#include "TKLog.h"
+#include "TKDebug.h"
#include <strings.h>
#include <stdlib.h>
std::string parseCellCodeForScriptEngine(std::string jname, std::string cellCode)
{
#ifdef DEBUG
- DEBUG_TRACE("TKJSCellCode::TKJSCellCode() parse for %s\n=== Original code =====\n%s\n", jname.c_str(), code.c_str());
+ DEBUG_TRACE("TKJSCellCode::TKJSCellCode() parse for %s\n=== Original code =====\n%s\n", jname.c_str(), cellCode.c_str());
#endif
const char *c = cellCode.c_str();
//parse input js string here..
std::string jname = getJSEscapeString(name.c_str());
- std::string stmt = parseCellCodeforScriptEngine(jname, code);
+ std::string stmt = parseCellCodeForScriptEngine(jname, code);
JSContextRef jsCtx = mJSContainer->getJSContext();
JSObjectRef jsGlobalObj = mJSContainer->getJSGlobalObject();