LINT: 'options' is defined but never used

LINT: ‘options’ is defined but never used

(no-unused-vars)

diff --git a/assets/javascripts/spoiler.js b/assets/javascripts/spoiler.js
index 357639b..56c7426 100644
--- a/assets/javascripts/spoiler.js
+++ b/assets/javascripts/spoiler.js
@@ -35,7 +35,7 @@
     });
   };
 
-  $.fn.spoil = function(options) {
+  $.fn.spoil = function() {
     return this.each(function() {
       applySpoilers($(this));
     });

GitHub sha: a3bf41ee

1 Like