Better variable naming

Thanks to DxCx
This commit is contained in:
Ruud
2011-12-16 22:34:33 +01:00
parent a6f9ad6330
commit 224d1527e1
19 changed files with 96 additions and 95 deletions
+2 -2
View File
@@ -47,10 +47,10 @@ class ClientScript(Plugin):
def registerScript(self, path, position = 'head'):
self.register(path, 'script', position)
def register(self, file, type, location):
def register(self, filepath, type, location):
if not self.urls[type].get(location):
self.urls[type][location] = []
filePath = file
filePath = filepath
self.urls[type][location].append(filePath)