js-platform/filer — pull request #108 by simonwex (2014-02-07 02:34:29+00:00)
Title: Changed paths to be relative in order to work within Brackets. 

Had this convo with James:
```
18:14 jrburke: wex: so you want to be able to do
18:14 jrburke: require(‘x’)
18:14 jrburke: but then x is made up of
18:14 jrburke: x/index.js
18:14 jrburke: and x/index.js does a ‘./lib/something’ inside of it?
18:15 wex: x specifically is this: https://github.com/js-platform/filer
18:15 wex: https://github.com/js-platform/filer/blob/develop/src/index.js
18:15 jrburke: and you want that module to be found at id ‘x/lib/something’?
18:15 wex: and I'm requiring this from within brackets, which does some kinda funny things
18:15 wex: https://github.com/adobe/brackets/blob/master/src/brackets.js#L65
18:16 jrburke: wex: first thing, i woudl expect those to be relative require calls, like ‘./src/fs'
18:16 jrburke: brb… kid thing...
18:16 wex: jrburke: cool, my fix was to do that
18:16 wex: jrburke: enjoy kid!
```

It doesn't feel quite right to me, but require often feels like voodoo to me. Let's chat about it, happy to help figure out another way to make this fly.