mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
jshint fix.
This commit is contained in:
parent
694debe94b
commit
3ef05fd163
1 changed files with 5 additions and 5 deletions
|
@ -424,19 +424,19 @@ var TypeScriptDocGenerator = (function () {
|
||||||
case ts.SyntaxKind.Method:
|
case ts.SyntaxKind.Method:
|
||||||
// _grunt.log.writeln("insert4: " + node);
|
// _grunt.log.writeln("insert4: " + node);
|
||||||
|
|
||||||
var t = true;
|
var t2 = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
t = node.name.getText();
|
t2 = node.name.getText();
|
||||||
}
|
}
|
||||||
catch (e)
|
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;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue