summaryrefslogtreecommitdiff
path: root/lib/utils.js
diff options
context:
space:
mode:
authorDavid Mehren2019-10-27 14:27:15 +0100
committerDavid Mehren2019-10-27 14:27:15 +0100
commitafb317b55155eed2cfcad0fee5aba2107dc0b106 (patch)
treeb4f44e76166739ac063a76c27d61fb9fa7156caa /lib/utils.js
parent9d938c334a5a058e243327c65e15fd6fc56c9403 (diff)
Move slide actions to own file
Signed-off-by: David Mehren <dmehren1@gmail.com>
Diffstat (limited to '')
-rw-r--r--lib/utils.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/utils.js b/lib/utils.js
index 1725f6e8..270cbd6a 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -1,6 +1,4 @@
'use strict'
-const fs = require('fs')
-const path = require('path')
exports.isSQLite = function isSQLite (sequelize) {
return sequelize.options.dialect === 'sqlite'
@@ -27,10 +25,3 @@ exports.getImageMimeType = function getImageMimeType (imagePath) {
return undefined
}
}
-
-exports.isRevealTheme = function isRevealTheme (theme) {
- if (fs.existsSync(path.join(__dirname, '..', 'public', 'build', 'reveal.js', 'css', 'theme', theme + '.css'))) {
- return theme
- }
- return undefined
-}