Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix js styling

uggrock603110e1b525
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.js
index 015890b45..46daf6519 100644
--- a/data/ext/perspectiveList/perspectiveUI.js
+++ b/data/ext/perspectiveList/perspectiveUI.js
@@ -467,7 +467,7 @@ define(function(require, exports, module) {
//if (supportedFileTypeThumnailing.indexOf(fileExt) >= 0) {
// return buttonCompTmbTmpl(context);
//} else {
- return buttonCompTmpl(context);
+ return buttonCompTmpl(context);
//}
};
diff --git a/data/node-webkit/node-webkit.api.js b/data/node-webkit/node-webkit.api.js
index 1e1c9ddca..f995fc7a0 100644
--- a/data/node-webkit/node-webkit.api.js
+++ b/data/node-webkit/node-webkit.api.js
@@ -105,7 +105,7 @@ define(function(require, exports, module) {
}
console.log("CMD Arguments cleaned: " + cmdArguments);
var filePath = "" + cmdArguments;
- if(filePath.length > 1 ) {
+ if (filePath.length > 1) {
var dirPath = TSCORE.TagUtils.extractContainingDirectoryPath(filePath);
TSCORE.IO.listDirectory(dirPath);
TSCORE.FileOpener.openFileOnStartup(filePath);
@@ -486,7 +486,7 @@ define(function(require, exports, module) {
try {
fs.readdir(dirPath, function(error, dirList) {
if (error) {
- if(readyCallback) {
+ if (readyCallback) {
readyCallback(anotatedDirList);
} else {
TSPOSTIO.errorOpeningPath(dirPath);
@@ -530,7 +530,7 @@ define(function(require, exports, module) {
var getDirectoryMetaInformation = function(dirPath, readyCallback) {
listDirectory(dirPath, function(anotatedDirList) {
- TSCORE.metaFileList = anotatedDirList;
+ TSCORE.metaFileList = anotatedDirList;
readyCallback(anotatedDirList);
});
};
diff --git a/data/web/web.api.js b/data/web/web.api.js
index d0d383063..009411afd 100644
--- a/data/web/web.api.js
+++ b/data/web/web.api.js
@@ -79,7 +79,7 @@ define(function(require, exports, module) {
var getDirectoryMetaInformation = function(dirPath, readyCallback) {
listDirectory(dirPath, function(anotatedDirList) {
- TSCORE.metaFileList = anotatedDirList;
+ TSCORE.metaFileList = anotatedDirList;
readyCallback(anotatedDirList);
});
};