minor js cleanups

add missing semicolons pointed out by js2-mode, add missing emacs
modelines, fix a few tabs that crept in via cut+paste
This commit is contained in:
Dan Winship
2010-05-19 13:26:41 -04:00
parent 9b3e16595b
commit 8b242dd4bd
11 changed files with 32 additions and 29 deletions

View File

@ -22,7 +22,7 @@ function nameToPath(name) {
function pathToName(path) {
if (path[0] != '/')
throw new Error('not a D-Bus path: ' + path);
throw new Error('not a D-Bus path: ' + path);
return path.substr(1).replace('/', '.', 'g');
};