From 9e13b1bbaef7fd3cbb06d62cfcc01a7396c9cf10 Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Mon, 18 Apr 2016 12:25:46 -0700 Subject: [PATCH] more CR feedback --- libraries/script-engine/src/ScriptEngine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/script-engine/src/ScriptEngine.cpp b/libraries/script-engine/src/ScriptEngine.cpp index 2aab250ef4..610f542397 100644 --- a/libraries/script-engine/src/ScriptEngine.cpp +++ b/libraries/script-engine/src/ScriptEngine.cpp @@ -1049,8 +1049,8 @@ void ScriptEngine::forwardHandlerCall(const EntityItemID& entityID, const QStrin // since all of these operations can be asynch we will always do the actual work in the response handler // for the download void ScriptEngine::loadEntityScript(QWeakPointer theEngine, const EntityItemID& entityID, const QString& entityScript, bool forceRedownload) { - // NOTE: If the script content is not currently in the caceh, The LAMBDA here, will be called on the Main Thread - // which means we're guarenteed that it's not the correct thread for the ScriptEngine. This means + // NOTE: If the script content is not currently in the cache, the LAMBDA here will be called on the Main Thread + // which means we're guaranteed that it's not the correct thread for the ScriptEngine. This means // when we get into entityScriptContentAvailable() we will likely invokeMethod() to get it over // to the "Entities" ScriptEngine thread. DependencyManager::get()->getScriptContents(entityScript, [theEngine, entityID](const QString& scriptOrURL, const QString& contents, bool isURL, bool success) {