File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ module.exports.options = {
99 checkAnnotations : true
1010} ;
1111
12- var tags ;
13-
1412/**
1513 * @param {Object } options
1614 */
@@ -35,7 +33,7 @@ validateAnnotations.configure = function(options) {
3533 } ) ;
3634 }
3735
38- tags = Object . create ? Object . create ( null ) : { } ;
36+ var tags = this . _tags = Object . create ? Object . create ( null ) : { } ;
3937
4038 if ( o === true ) {
4139 Object . keys ( availablePresets ) . forEach ( function ( preset ) {
@@ -72,6 +70,7 @@ validateAnnotations.configure = function(options) {
7270 */
7371function validateAnnotations ( file , errors ) {
7472 var comments = file . getComments ( ) ;
73+ var tags = this . _tags ;
7574 comments . forEach ( function ( commentNode ) {
7675 if ( commentNode . type !== 'Block' || commentNode . value [ 0 ] !== '*' ) {
7776 return ;
You can’t perform that action at this time.
0 commit comments