Commit a4349b83 authored by Cory Bryant's avatar Cory Bryant

Switch function implementations

parent 15dfa8ac
Pipeline #5235 passed with stage
in 43 seconds
......@@ -207,7 +207,7 @@ module.exports = function (options, plugins) {
checkRenditionBacking();
}
const checkRenditionBacking = () => {
function checkRenditionBacking() {
if (renditionsBacking) {
fs.mkdirSync(imageRootPathOnDisk, { recursive: true });
renditionsBacking.checkForRendition(renditionBackingConfig, (err, lastModifiedTime, data) => {
......@@ -223,7 +223,7 @@ module.exports = function (options, plugins) {
}
}
const checkRenditionMtime = (renditionMtime, fromRenditionBacking) => {
function checkRenditionMtime(renditionMtime, fromRenditionBacking) {
/* Get last modified date of original */
sc.get(slingImg + "/jcr:content", 0, function(err, data) {
let originalMtime;
......@@ -317,7 +317,7 @@ module.exports = function (options, plugins) {
}
}
dealWithRendition = (rendition) => {
function dealWithRendition(rendition) {
cb(rendition);
if (downloadExistingRendition) {
......
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