Also maybe when you're done could you describe the steps on the wiki, so we can link to it from the README. That could help other people.
On Tue, Jun 18, 2013 at 10:33 AM, Arian Stolwijk <stolwijk.ar...@gmail.com>wrote: > Awesome that you've come so far. This is to the point I came when trying > it out on windows. > > Perhaps on windows there is a `\r\n` so it never matches. > Maybe you can try /^\-+(\r)?$/ > > Thanks and let me know if it works or not. > > > On Tue, Jun 18, 2013 at 10:24 AM, Tor <tor.viktors...@gmail.com> wrote: > >> I've now gotten so far as to calling... >> >> node build/all >> >> but I'm now getting ... >> >> TypeError: Cannot read property '0' of undefined >> >> on the line ... >> >> var data = JSON.parse(parts[0]); >> >> because the line ... >> >> var parts = splitMetaData(file.md); >> >> returns undefined. >> >> I'm thinking this is where markdown content files are supposed to >> generated into html-files. But it breaks on my Windows machine when it's >> supposed to split the markdown into meta and content. >> >> One of these lines in splitMarkdownMetaData.js might be wrong but I can't >> tell: >> >> if (str[i] == '\n'){ >> if (/^\-+$/.test(line)){ >> >> Anyone got an idea? >> >> / Tor >> >> On Tuesday, June 18, 2013 10:18:35 AM UTC+2, Tor wrote: >> >>> Hi all >>> >>> I've been stuggling to build the new MooTools website (* >>> https://github.com/mootools/website*<https://github.com/mootools/website>) >>> on my Windows machine. >>> >>> I'm making this thread because I want help but also so that anyone else >>> who might to want to do the same thing can find information about it. >>> >>> I'm having a hunch that my problems are Windows related but if someone >>> is running the website on a Windows box and haven't had the problems I'm >>> having please reply so that I can rule that out. >>> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "MooTools Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to mootools-users+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- --- You received this message because you are subscribed to the Google Groups "MooTools Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mootools-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.