gfranko/amdclean — pull request #52 by jakobwesthoff (2014-07-26 19:53:38+00:00)
Title: Fixed processing of reversed AMD conditionals

Reversed AMD conditionals where not processed correctly:

```javascript
if ("function" === typeof define) { /*...*/ }
```
Some libraries (like React, for example) unfortunately use this style of conditional AMD support, which renders them unusable with amdclean. This PR fixes this problem by checking for both variants of the comparison.