af92753d by David LaPalomento

Merge pull request #329 from ntadej/karma-fix

Properly parse CR+LF on Windows when generating manifests file
2 parents c54d4d66 d0f0fd06
......@@ -300,7 +300,7 @@ module.exports = function(grunt) {
// translate this manifest
jsManifests += ' \'' + basename(filename, '.m3u8') + '\': ' +
grunt.file.read(abspath)
.split('\n')
.split(/\r\n|\n/)
// quote and concatenate
.map(function(line) {
......