diff -r 9e3452188615 -r b946699e9e79 src/eric7/Utilities/ClassBrowsers/__init__.py --- a/src/eric7/Utilities/ClassBrowsers/__init__.py Wed May 24 09:44:18 2023 +0200 +++ b/src/eric7/Utilities/ClassBrowsers/__init__.py Wed May 24 10:31:09 2023 +0200 @@ -34,20 +34,11 @@ PY_SOURCE = 1 PTL_SOURCE = 128 RB_SOURCE = 129 -JS_SOURCE = 130 UNKNOWN_SOURCE = 255 -SUPPORTED_TYPES = [ - PY_SOURCE, - PTL_SOURCE, - RB_SOURCE, - JS_SOURCE, -] - __extensions = { "Python": [".py", ".pyw", ".ptl"], # currently not used "Ruby": [".rb"], - "JavaScript": [".js"], } @@ -145,8 +136,6 @@ if ext in __extensions["Ruby"]: moduleType = "ruby" - elif ext in __extensions["JavaScript"]: - moduleType = "javascript" elif ext in Preferences.getPython("Python3Extensions") or isPyFile: moduleType = "python" else: @@ -185,8 +174,6 @@ if ext in __extensions["Ruby"]: moduleType = "ruby" - elif ext in __extensions["JavaScript"]: - moduleType = "javascript" elif ext in Preferences.getPython("Python3Extensions") or isPyFile: moduleType = "python" else: @@ -225,8 +212,6 @@ if ext in __extensions["Ruby"]: sourceType = RB_SOURCE - elif ext in __extensions["JavaScript"]: - sourceType = JS_SOURCE elif ext == ".ptl": sourceType = PTL_SOURCE elif (