From f5197246d82bf8713c34135174a1a18720260281 Mon Sep 17 00:00:00 2001 From: Yvan Date: Tue, 14 Mar 2017 11:02:09 +0100 Subject: [PATCH] Unreachable statement As stated by JSLint, the last `if` can't be reached because of preceding `return` --- jquery.truncate.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/jquery.truncate.js b/jquery.truncate.js index cc7c14a..1e0c96a 100644 --- a/jquery.truncate.js +++ b/jquery.truncate.js @@ -191,9 +191,5 @@ $truncateWorker.remove(); } }); - - if (options.assumeSameStyle) { - $truncateWorker.remove(); - } }; })(jQuery);