Commit a68fd3c8 authored by Jacob Schatz's avatar Jacob Schatz Committed by Eric Eastwood

Change isKindaBinary to isRenderable.

parent d4c8b66d
...@@ -15,7 +15,7 @@ const RepoFileButtons = { ...@@ -15,7 +15,7 @@ const RepoFileButtons = {
}, },
canPreview() { canPreview() {
return Helper.isKindaBinary(); return Helper.isRenderable();
}, },
}, },
......
...@@ -68,7 +68,7 @@ const RepoHelper = { ...@@ -68,7 +68,7 @@ const RepoHelper = {
return file; return file;
}, },
isKindaBinary() { isRenderable() {
const okExts = ['md', 'svg']; const okExts = ['md', 'svg'];
return okExts.indexOf(Store.activeFile.extension) > -1; return okExts.indexOf(Store.activeFile.extension) > -1;
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment