11'use strict' ;
22
3- var _createClass = ( function ( ) { function defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } } return function ( Constructor , protoProps , staticProps ) { if ( protoProps ) defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) defineProperties ( Constructor , staticProps ) ; return Constructor ; } ; } ) ( ) ;
3+ var _createClass = function ( ) { function defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } } return function ( Constructor , protoProps , staticProps ) { if ( protoProps ) defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) defineProperties ( Constructor , staticProps ) ; return Constructor ; } ; } ( ) ;
44
5- function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
5+ var _typeof = typeof Symbol === " function" && typeof Symbol . iterator === "symbol" ? function ( obj ) { return typeof obj ; } : function ( obj ) { return obj && typeof Symbol === "function" && obj . constructor === Symbol ? "symbol" : typeof obj ; } ;
66
7- function _typeof ( obj ) { return obj && typeof Symbol !== "undefined" && obj . constructor === Symbol ? "symbol" : typeof obj ; }
7+ function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
88
99var path = require ( 'path' ) ;
1010var a = require ( 'array-tools' ) ;
@@ -25,15 +25,15 @@ function jsdocParse(options) {
2525 try {
2626 options . validate ( ) ;
2727 } catch ( err ) {
28- var _ret = ( function ( ) {
28+ var _ret = function ( ) {
2929 var output = new Transform ( ) ;
3030 process . nextTick ( function ( ) {
3131 output . emit ( 'error' , err ) ;
3232 } ) ;
3333 return {
3434 v : output
3535 } ;
36- } ) ( ) ;
36+ } ( ) ;
3737
3838 if ( ( typeof _ret === 'undefined' ? 'undefined' : _typeof ( _ret ) ) === "object" ) return _ret . v ;
3939 }
@@ -98,7 +98,7 @@ function sort(array, sortBy) {
9898 }
9999}
100100
101- var ParseOptions = ( function ( ) {
101+ var ParseOptions = function ( ) {
102102 function ParseOptions ( options ) {
103103 _classCallCheck ( this , ParseOptions ) ;
104104
@@ -132,4 +132,4 @@ var ParseOptions = (function () {
132132 } ] ) ;
133133
134134 return ParseOptions ;
135- } ) ( ) ;
135+ } ( ) ;
0 commit comments