zcbenz/nw-sample-apps — pull request #4 by drewish (2013-03-25 06:43:47+00:00)
Title: Use window.alert() since it should be defined.

Running this on OS X I was getting a fatal error:

```
Uncaught node.js Error

ReferenceError: alert is not defined
at Object.exports.stat (/Users/amorton/projects/nw-sample-apps/file-explorer/node_modules/mime.js:45:5)
at /Users/amorton/projects/nw-sample-apps/file-explorer/node_modules/folder_view.js:52:23
at Object.oncomplete (fs.js:297:15)
```

![Screen Shot 2013-03-24 at 11 36 54 PM](https://f.cloud.github.com/assets/68750/296821/31e1250a-9517-11e2-81e6-46d9d4d5ca3c.png)

Using the global window object seemed to get it sorted out.