Skip to content

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

js styling

uggrock6482a2d0a983
diff --git a/data/js/extension.manager.js b/data/js/extension.manager.js
index c5618f3a1..1f1378686 100644
--- a/data/js/extension.manager.js
+++ b/data/js/extension.manager.js
@@ -18,7 +18,7 @@ define(function(require, exports, module) {
//TODO: chrome fail to read resource://
return chrome.extension.getURL(extPath);
}
- if(isWin) {
+ if (isWin) {
return location.href.replace(/file:\/\/\//gi, "").replace(/index.html/gi, extPath);
}
return location.href.replace(/file:\/\//gi, "").replace(/index.html/gi, extPath);
diff --git a/data/node-webkit/node-webkit.api.js b/data/node-webkit/node-webkit.api.js
index 3e1d50baf..096455881 100644
--- a/data/node-webkit/node-webkit.api.js
+++ b/data/node-webkit/node-webkit.api.js
@@ -205,7 +205,12 @@ define(function(require, exports, module) {
// IOAPI
-``
+ /**
+ * Checks if new version is available
+ * @name checkNewVersion
+ * @method
+ * @memberof IOAPI.FirefoxAddon
+ */
function checkNewVersion() {
console.log("Checking for new version...");
var cVer = TSCORE.Config.DefaultSettings.appVersion + "." + TSCORE.Config.DefaultSettings.appBuild;