eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py

branch
without_py2_and_pyqt4
changeset 7206
74666c6679af
parent 7201
6b42677d7043
child 7229
53054eb5b15a
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py	Mon Sep 02 18:58:29 2019 +0200
+++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py	Tue Sep 03 19:27:46 2019 +0200
@@ -375,7 +375,6 @@
         
         @return prepared script object
         @rtype QWebEngineScript
-        @exception ValueError raised to indicate an unsupported start point
         """
         script = QWebEngineScript()
         script.setSourceCode("{0}\n{1}".format(
@@ -386,19 +385,6 @@
         script.setRunsOnSubFrames(not self.__noFrames)
         return script
     
-    # TODO: get rid of it
-    def __toJavaScriptList(self, patterns):
-        """
-        Private method to convert a list of str to a string containing a valid
-        JavaScript list definition.
-        
-        @param patterns list of match patterns
-        @type list of str
-        @return JavaScript script containing the list
-        @rtype str
-        """
-        return ""
-    
     def updateScript(self):
         """
         Public method to updated the script.

eric ide

mercurial