grunt-template-jasmine-requirejs icon indicating copy to clipboard operation
grunt-template-jasmine-requirejs copied to clipboard

Backslash in script path

Open majk-p opened this issue 8 years ago • 1 comments

When generating _SpecRunner.html on Windows I get following script imports:

  <meta charset="utf-8">
  <title>Jasmine Spec Runner</title>

  <link rel="stylesheet" type="text/css" href=".grunt/grunt-contrib-jasmine/jasmine.css">

  <script src=".grunt\grunt-contrib-jasmine/require.js"></script>

  <script src=".grunt/grunt-contrib-jasmine/jasmine.js"></script>

  <script src=".grunt/grunt-contrib-jasmine/jasmine-html.js"></script>

  <script src=".grunt/grunt-contrib-jasmine/json2.js"></script>

  <script src=".grunt/grunt-contrib-jasmine/boot.js"></script>

For some reason there's a backslash in .grunt\grunt-contrib-jasmine/require.js.

majk-p avatar Apr 18 '16 18:04 majk-p

because of that https://nodejs.org/api/path.html#path_path_relative_from_to

how we get this fixxed?

dutscher avatar Nov 07 '16 07:11 dutscher