Index: fpdfsdk/javascript/PublicMethods.cpp |
diff --git a/fpdfsdk/src/javascript/PublicMethods.cpp b/fpdfsdk/javascript/PublicMethods.cpp |
similarity index 96% |
rename from fpdfsdk/src/javascript/PublicMethods.cpp |
rename to fpdfsdk/javascript/PublicMethods.cpp |
index 014dea2d6aa083e908f2c9ad831283ce9e8767c7..d154fc176629d28640425fd5554281ac889aa48a 100644 |
--- a/fpdfsdk/src/javascript/PublicMethods.cpp |
+++ b/fpdfsdk/javascript/PublicMethods.cpp |
@@ -4,7 +4,7 @@ |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
-#include "fpdfsdk/src/javascript/PublicMethods.h" |
+#include "fpdfsdk/javascript/PublicMethods.h" |
#include <algorithm> |
#include <string> |
@@ -13,16 +13,16 @@ |
#include "core/include/fxcrt/fx_ext.h" |
#include "fpdfsdk/include/fsdk_mgr.h" // For CPDFDoc_Environment. |
#include "fpdfsdk/include/javascript/IJavaScript.h" |
-#include "fpdfsdk/src/javascript/Field.h" |
-#include "fpdfsdk/src/javascript/JS_Context.h" |
-#include "fpdfsdk/src/javascript/JS_Define.h" |
-#include "fpdfsdk/src/javascript/JS_EventHandler.h" |
-#include "fpdfsdk/src/javascript/JS_Object.h" |
-#include "fpdfsdk/src/javascript/JS_Runtime.h" |
-#include "fpdfsdk/src/javascript/JS_Value.h" |
-#include "fpdfsdk/src/javascript/color.h" |
-#include "fpdfsdk/src/javascript/resource.h" |
-#include "fpdfsdk/src/javascript/util.h" |
+#include "fpdfsdk/javascript/Field.h" |
+#include "fpdfsdk/javascript/JS_Context.h" |
+#include "fpdfsdk/javascript/JS_Define.h" |
+#include "fpdfsdk/javascript/JS_EventHandler.h" |
+#include "fpdfsdk/javascript/JS_Object.h" |
+#include "fpdfsdk/javascript/JS_Runtime.h" |
+#include "fpdfsdk/javascript/JS_Value.h" |
+#include "fpdfsdk/javascript/color.h" |
+#include "fpdfsdk/javascript/resource.h" |
+#include "fpdfsdk/javascript/util.h" |
#define DOUBLE_CORRECT 0.000000000000001 |
@@ -53,31 +53,14 @@ END_JS_STATIC_GLOBAL_FUN() |
IMPLEMENT_JS_STATIC_GLOBAL_FUN(CJS_PublicMethods) |
-static const FX_WCHAR* const months[] = {L"Jan", |
- L"Feb", |
- L"Mar", |
- L"Apr", |
- L"May", |
- L"Jun", |
- L"Jul", |
- L"Aug", |
- L"Sep", |
- L"Oct", |
- L"Nov", |
- L"Dec"}; |
- |
-static const FX_WCHAR* const fullmonths[] = {L"January", |
- L"February", |
- L"March", |
- L"April", |
- L"May", |
- L"June", |
- L"July", |
- L"August", |
- L"September", |
- L"October", |
- L"November", |
- L"December"}; |
+static const FX_WCHAR* const months[] = {L"Jan", L"Feb", L"Mar", L"Apr", |
+ L"May", L"Jun", L"Jul", L"Aug", |
+ L"Sep", L"Oct", L"Nov", L"Dec"}; |
+ |
+static const FX_WCHAR* const fullmonths[] = { |
+ L"January", L"February", L"March", L"April", |
+ L"May", L"June", L"July", L"August", |
+ L"September", L"October", L"November", L"December"}; |
FX_BOOL CJS_PublicMethods::IsNumber(const FX_WCHAR* str) { |
CFX_WideString sTrim = StrTrim(str); |