From 43a1c9ea8ba97bb82ff3795e5d2f61c3ac698d9b Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Tue, 3 Jul 2012 18:29:04 -0700 Subject: [PATCH] don't silently fall through in a switch statement this fixes a JSHint error that cannot be suppressed. --- rhino_modules/jsdoc/tutorial/resolver.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rhino_modules/jsdoc/tutorial/resolver.js b/rhino_modules/jsdoc/tutorial/resolver.js index fc78ac02..4496ad25 100644 --- a/rhino_modules/jsdoc/tutorial/resolver.js +++ b/rhino_modules/jsdoc/tutorial/resolver.js @@ -75,6 +75,8 @@ exports.load = function(path) { case 'js': case 'json': conf[name] = JSON.parse(content); + // don't add this as a tutorial + return; // how can it be? check `finder' regexp default: