tooling/book-of-modern-frontend-tooling — pull request #45 by stombeur (2014-03-06 14:03:53+00:00)
Title: changes to gulp-parse-toc.js to build on windows

I wasn't able to build the output on windows 8.1
When loading the toc.md the path separators were windows-style, so the file path wasn't split correctly when using '/'. Next up when reading the .md files and linking to other files, the '/' was always used, but matched paths on disk were using the '\'

This now builds the pdf at least. As I don't fully understand yet how files are pushed into the gulp-parse-toc.js plugin, I suppose this is not the best way to do it but I'm not sure how to fix it more elegantly.

changes
- toc file filePath split with path.sep instead of '/'
- replace path.sep with '/' for linked files