From af0dde9483f3a3f0b98e39e371903001da5d45f1 Mon Sep 17 00:00:00 2001 From: curben Date: Tue, 2 Oct 2018 09:45:02 +0930 Subject: [PATCH] Fix typo in cloudinary script --- themes/typing/scripts/cloudinary.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/themes/typing/scripts/cloudinary.js b/themes/typing/scripts/cloudinary.js index 4e2d718..abd1583 100644 --- a/themes/typing/scripts/cloudinary.js +++ b/themes/typing/scripts/cloudinary.js @@ -8,8 +8,6 @@ * https://hexo.io/api/tag * https://cloudinary.com/documentation/responsive_images */ -hexo.extend.tag.register('cloudinary', function(args){ - var filename = args[0]; - - return ''; +hexo.extend.tag.register('cloudinary', function(fileName){ + return ''; });