(input, options)
| 414 | } |
| 415 | |
| 416 | function innerTransform(input, options) { |
| 417 | var visitorSets = ['react']; |
| 418 | if (options.harmony) { |
| 419 | visitorSets.push('harmony'); |
| 420 | } |
| 421 | |
| 422 | if (options.es3) { |
| 423 | visitorSets.push('es3'); |
| 424 | } |
| 425 | |
| 426 | if (options.stripTypes) { |
| 427 | // Stripping types needs to happen before the other transforms |
| 428 | // unfortunately, due to bad interactions. For example, |
| 429 | // es6-rest-param-visitors conflict with stripping rest param type |
| 430 | // annotation |
| 431 | input = transform(typesSyntax.visitorList, input, options).code; |
| 432 | } |
| 433 | |
| 434 | var visitorList = visitors.getVisitorsBySet(visitorSets); |
| 435 | return transform(visitorList, input, options); |
| 436 | } |
| 437 | |
| 438 | },{"./vendor/fbtransform/visitors":40,"./vendor/inline-source-map":41,"jstransform":22,"jstransform/visitors/type-syntax":36}],3:[function(_dereq_,module,exports){ |
| 439 | /*! |
no test coverage detected