Skip to content

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

Browser Viewer now integrated in the core as default viewer

uggrock3528d24fb329
diff --git a/data/ext/viewerBrowser/extension.js b/data/ext/viewerBrowser/extension.js
deleted file mode 100644
index d71e429f1..000000000
--- a/data/ext/viewerBrowser/extension.js
+++ /dev/null
@@ -1,37 +0,0 @@
-define(function(require, exports, module) {
-"use strict";
-
-exports.config = {
- "id": "viewerBrowser", // ID should be equal to the directory name where the ext. is located
- "title": "Browser Viewer",
- "type": "viewer", // editor, viewer, ts for tagspace
- "supportedFileTypes": [
- "*",
- ],
-}
-
-var extensionDirectory = TSSETTINGS.getExtensionPath()+UIAPI.getDirSeparator()+exports.config["id"];
-
-exports.init = function(filePath, elementID) {
- console.debug("Initalization Browser Viewer...");
- filePath = "file:///"+filePath;
-
- $('#'+elementID).append($('<iframe>', {
- id: "iframeViewer",
- src: filePath
- }));
-}
-
-exports.viewerMode = function(isViewerMode) {
- console.debug("viewerMode not supported on this extension");
-}
-
-exports.setContent = function(content) {
- console.debug("setContent not supported on this extension");
-}
-
-exports.getContent = function() {
- console.debug("getContent not supported on this extension");
-}
-
-});
\ No newline at end of file