From a6b448508eeebe8a05010962959d8868bcb298b8 Mon Sep 17 00:00:00 2001 From: Ian Kerr Date: Mon, 22 Apr 2019 16:51:46 -0300 Subject: [PATCH 1/2] Update: Support .dwg files in the DocumentViewer --- src/lib/extensions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/extensions.js b/src/lib/extensions.js index 25606aa6c..cc6943e82 100644 --- a/src/lib/extensions.js +++ b/src/lib/extensions.js @@ -15,6 +15,7 @@ export const CODE_EXTENSIONS = [ 'css', 'cxx', 'diff', + 'dwg', 'erb', 'groovy', 'h', From f5dd721b3ea2ae3d2a5b634f9edbdec1cfd30322 Mon Sep 17 00:00:00 2001 From: Ian Kerr Date: Thu, 25 Apr 2019 16:01:16 -0300 Subject: [PATCH 2/2] Fix: Move 'dwg' extension from CODE_EXTENSIONS to DOCUMENT_EXTENSIONS --- src/lib/extensions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/extensions.js b/src/lib/extensions.js index cc6943e82..97c00aaac 100644 --- a/src/lib/extensions.js +++ b/src/lib/extensions.js @@ -15,7 +15,6 @@ export const CODE_EXTENSIONS = [ 'css', 'cxx', 'diff', - 'dwg', 'erb', 'groovy', 'h', @@ -54,6 +53,7 @@ export const DOCUMENT_EXTENSIONS = CODE_EXTENSIONS.concat(NON_CODE_EXTENSIONS) .concat([ 'doc', 'docx', + 'dwg', 'gdoc', 'gsheet', 'gslide',