From 71522731c6452c6dab6166b884d680fea9d5e7ae Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Oct 2017 17:26:36 +0200 Subject: [PATCH] Fix typos in wxJSScriptWrapper comments No real changes. --- include/wx/private/jsscriptwrapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/private/jsscriptwrapper.h b/include/wx/private/jsscriptwrapper.h index 50180e1293..399d6c3ec5 100644 --- a/include/wx/private/jsscriptwrapper.h +++ b/include/wx/private/jsscriptwrapper.h @@ -26,12 +26,12 @@ public: m_outputVarName = wxString::Format("__wx$%i", (*runScriptCount)++); } - // This method is used to add a double quote level into a JavasSript code + // This method is used to add a double quote level into a JavaScript code // in order to get it working when eval is called programmatically. const wxString GetWrappedCode() { // Adds one escape level if there is a single quote, double quotes or - // esacape characters + // escape characters wxRegEx escapeDoubleQuotes("(\\\\*)(['\"\n\r\v\t\b\f])"); escapeDoubleQuotes.Replace(&m_jsscript,"\\1\\1\\\\\\2");