From 3ef05fd16389731a17e1b7669562200388b05758 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Fri, 17 Jun 2016 03:10:06 +0100 Subject: [PATCH] jshint fix. --- tasks/buildtsdoc-debug.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/buildtsdoc-debug.js b/tasks/buildtsdoc-debug.js index b0becad50..2ebd39a10 100644 --- a/tasks/buildtsdoc-debug.js +++ b/tasks/buildtsdoc-debug.js @@ -424,19 +424,19 @@ var TypeScriptDocGenerator = (function () { case ts.SyntaxKind.Method: // _grunt.log.writeln("insert4: " + node); - var t = true; + var t2 = true; try { - t = node.name.getText(); + t2 = node.name.getText(); } catch (e) { - t = false; + t2 = false; } - if (c !== '' && r && t) + if (c !== '' && r && t2) { - this.insertComment(this.generateFunctionComments(c, t, r)); + this.insertComment(this.generateFunctionComments(c, t2, r)); } break;