mzabriskie/react-draggable — pull request #30 by DavidWells (2014-12-25 17:47:27+00:00)
Title: Fix for node server side react rendering. window undefined

When compiling react components server side, window reference throws error in node:

```
/app/components/react-draggable.js:62
var isTouchDevice = 'ontouchstart' in window // works on most browsers
^
ReferenceError: window is not defined
```

I added a conditional wrapper to fix this issue.