mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Added debug and warning
This commit is contained in:
parent
064e8a3ec2
commit
643a0d1de1
3 changed files with 9 additions and 1 deletions
|
@ -124,6 +124,7 @@ class Parser {
|
|||
if (obj) {
|
||||
if (container[doclet.longname]) {
|
||||
console.log('Warning: ignoring duplicate doc name: ' + doclet.longname);
|
||||
console.log('Meta: ', doclet.meta);
|
||||
docs.splice(i--, 1);
|
||||
continue;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,10 @@
|
|||
import * as dom from 'dts-dom';
|
||||
|
||||
/**
|
||||
* Note that this Parser only works with jsdoc 3.6.6 output.
|
||||
* Downgrading, or upgrading jsdoc will cause it to break.
|
||||
*/
|
||||
|
||||
const regexEndLine = /^(.*)\r\n|\n|\r/gm;
|
||||
|
||||
export class Parser {
|
||||
|
@ -159,6 +164,8 @@ export class Parser {
|
|||
if (container[doclet.longname])
|
||||
{
|
||||
console.log('Warning: ignoring duplicate doc name: ' + doclet.longname);
|
||||
console.log('Meta: ', doclet.meta);
|
||||
|
||||
docs.splice(i--, 1);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue