I'm guessing that most themes will consist simply of a .css or .less file.
Not providing a function for loading a directory seems fine to me.


On Wed, May 7, 2014 at 9:10 PM, Miguel Castillo @manchagnu <
notifications@github.com> wrote:

> In src/themes/ThemeFiles.js:
>
> > +                    files.push(entries[i].name);
> > +                }
> > +            }
> > +
> > +            result.resolve({
> > +                files: files,
> > +                path: path,
> > +                error: err
> > +            });
> > +        }
> > +
> > +        try {
> > +            FileSystem.getDirectoryForPath(path).getContents(readContent);
> > +        }
> > +        catch (ex) {
> > +            result.resolve({
>
> @dangoor <https://github.com/dangoor> I am actually considering removing
> the interface to load a directory. I am already exposing an interface to
> load a file...
>
> Thoughts?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/adobe/brackets/pull/7616/files#r12411880>
> .
>