Merge to XFA: Remove unused nParamNum values from JS method tables.
[pdfium.git] / fpdfsdk / src / javascript / app.cpp
index 45998b0..d2b26a1 100644 (file)
@@ -94,27 +94,27 @@ BEGIN_JS_STATIC_PROP(CJS_App)
 END_JS_STATIC_PROP()
 
 BEGIN_JS_STATIC_METHOD(CJS_App)
-       JS_STATIC_METHOD_ENTRY(alert, 6)
-       JS_STATIC_METHOD_ENTRY(beep, 1)
-       JS_STATIC_METHOD_ENTRY(browseForDoc, 0)
-       JS_STATIC_METHOD_ENTRY(clearInterval, 1)
-       JS_STATIC_METHOD_ENTRY(clearTimeOut, 1)
-       JS_STATIC_METHOD_ENTRY(execDialog, 3)
-       JS_STATIC_METHOD_ENTRY(execMenuItem,  1)
-       JS_STATIC_METHOD_ENTRY(findComponent, 1)
-       JS_STATIC_METHOD_ENTRY(goBack, 0)
-       JS_STATIC_METHOD_ENTRY(goForward, 0)
-       JS_STATIC_METHOD_ENTRY(launchURL, 0)
-       JS_STATIC_METHOD_ENTRY(mailMsg, 0)
-       JS_STATIC_METHOD_ENTRY(newFDF, 0)
-       JS_STATIC_METHOD_ENTRY(newDoc, 0)
-       JS_STATIC_METHOD_ENTRY(openDoc, 0)
-       JS_STATIC_METHOD_ENTRY(openFDF, 5)
-       JS_STATIC_METHOD_ENTRY(popUpMenuEx, 0)
-       JS_STATIC_METHOD_ENTRY(popUpMenu, 0)
-       JS_STATIC_METHOD_ENTRY(response, 0)
-       JS_STATIC_METHOD_ENTRY(setInterval, 2)
-       JS_STATIC_METHOD_ENTRY(setTimeOut, 2)
+       JS_STATIC_METHOD_ENTRY(alert)
+       JS_STATIC_METHOD_ENTRY(beep)
+       JS_STATIC_METHOD_ENTRY(browseForDoc)
+       JS_STATIC_METHOD_ENTRY(clearInterval)
+       JS_STATIC_METHOD_ENTRY(clearTimeOut)
+       JS_STATIC_METHOD_ENTRY(execDialog)
+       JS_STATIC_METHOD_ENTRY(execMenuItem)
+       JS_STATIC_METHOD_ENTRY(findComponent)
+       JS_STATIC_METHOD_ENTRY(goBack)
+       JS_STATIC_METHOD_ENTRY(goForward)
+       JS_STATIC_METHOD_ENTRY(launchURL)
+       JS_STATIC_METHOD_ENTRY(mailMsg)
+       JS_STATIC_METHOD_ENTRY(newFDF)
+       JS_STATIC_METHOD_ENTRY(newDoc)
+       JS_STATIC_METHOD_ENTRY(openDoc)
+       JS_STATIC_METHOD_ENTRY(openFDF)
+       JS_STATIC_METHOD_ENTRY(popUpMenuEx)
+       JS_STATIC_METHOD_ENTRY(popUpMenu)
+       JS_STATIC_METHOD_ENTRY(response)
+       JS_STATIC_METHOD_ENTRY(setInterval)
+       JS_STATIC_METHOD_ENTRY(setTimeOut)
 END_JS_STATIC_METHOD()
 
 IMPLEMENT_JS_CLASS(CJS_App,app)