mrdoob/three.js — pull request #4709 by inssein (2014-04-21 19:47:10+00:00)
Title: Add support for directory separators in baseUrl

I recently started using node-webkit for a threejs project and I have been having problems loading relative assets inside my Collada (DAE) models. Turned out to be an issue with the baseUrl configuration inside the ColladaLoader.

Not sure if this fix is appropriate since there may be many other places, and maybe there should be a utility function for this, but this seems like a good start.