Project/Project.py

changeset 3439
08aa0cef69e3
parent 3438
29717a5e8b97
child 3447
64fb656bd334
--- a/Project/Project.py	Wed Mar 26 20:03:25 2014 +0100
+++ b/Project/Project.py	Thu Mar 27 18:53:16 2014 +0100
@@ -168,19 +168,20 @@
         
         self.ui = parent
         
-        # TODO: add JavaScript below
         self.__progLanguages = [
             "Python2",
             "Python3",
             "Ruby",
+            "JavaScript",
         ]
         
-        # TODO: add JavaScript below
         self.sourceExtensions = {
             "Python2": Preferences.getPython("PythonExtensions"),
             "Python3": Preferences.getPython("Python3Extensions"),
             "Ruby": ['.rb'],
-            "Mixed": Preferences.getPython("Python3Extensions") + ['.rb'],
+            "JavaScript": ['.js'],
+            "Mixed": Preferences.getPython("Python3Extensions") + \
+                ['.rb', '.js'],
         }
         
         self.dbgFilters = {

eric ide

mercurial