baslr/node-openweathermap — pull request #3 by MikkoH (2014-10-21 18:59:25+00:00)
Title: node-openweathermap is now browserifiable

I made a few changes which made this module browserifiable.

I made it so that http.get uses port 80 and withCredentials set to false.

With credentials should be ignored when using in a node app. Port 80 I dropped in just because browserify uses window.location.port by default for port number for http.get and so when you're testing locally you maybe on some random port and not 80.

I switched concatting the data set from the api to a string instead of concatting using a buffer. I believe theres a bug in Browserifies Buffer. :(