Skip to content

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

checkstyle

Borislav Sapundzhiev40623e966060
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.js
index 95fffc113..377918223 100644
--- a/data/cordova/cordova.api.js
+++ b/data/cordova/cordova.api.js
@@ -240,7 +240,7 @@ define(function(require, exports, module) {
getFile(filePath, function(file) {
var reader = new FileReader();
- reader.onerror = function(){
+ reader.onerror = function() {
error(reader.error);
};
diff --git a/data/node-webkit/node-webkit.api.js b/data/node-webkit/node-webkit.api.js
index 9495ac04f..9f30b78ce 100644
--- a/data/node-webkit/node-webkit.api.js
+++ b/data/node-webkit/node-webkit.api.js
@@ -654,13 +654,13 @@ define(function(require, exports, module) {
function getFileContent(fullPath, resutl, error) {
- if(fullPath.indexOf("file://") === -1) {
+ if (fullPath.indexOf("file://") === -1) {
fullPath = "file://" + fullPath;
}
getFile(filePath, function(file) {
var reader = new FileReader();
- reader.onerror = function(){
+ reader.onerror = function() {
error(reader.error);
};