macmillanpublishers / htmlmaker_js

Repo for testing and finalizing htmlmaker javascript implementation
0 stars 1 forks source link

Windowsfriendly2 #27

Closed mattretzer closed 7 years ago

mattretzer commented 7 years ago

@nelliemckesson ; so the previous PR allowed me to run htmlmaker from command line on the server; however when I ran the command via ruby it passed the parameters with '/', instead of the expected path.sep (default for the OS), '\'. There's no alt_separator constant like in ruby, so I just explicitly planned for both path separators in the two .js files that needed it. (tested on Windows & Mac)