Helpviewer/GreaseMonkey/GreaseMonkeyScript.py

changeset 3002
6ffc581f00f1
parent 2954
bf0215fe12d1
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
3001:3674ff5fa8f8 3002:6ffc581f00f1
184 184
185 return False 185 return False
186 186
187 def __parseScript(self, path): 187 def __parseScript(self, path):
188 """ 188 """
189 Private method to parse the given script and populate the data structure. 189 Private method to parse the given script and populate the data
190 structure.
190 191
191 @param path path of the Javascript file (string) 192 @param path path of the Javascript file (string)
192 """ 193 """
193 try: 194 try:
194 f = open(path, "r", encoding="utf-8") 195 f = open(path, "r", encoding="utf-8")

eric ide

mercurial