Browse Source

Convert backslashes to slashes for Windows compatibility

pull/954/head
sami-t 10 years ago
parent
commit
e69bfaa353
1 changed files with 4 additions and 0 deletions
  1. 4
      src/Gruntfile.js

4
src/Gruntfile.js

@ -60,6 +60,10 @@ module.exports = function(grunt) {
],
setWatchFiles = function(action, filePath) {
// convert backslashes to slashes for Windows compatibility
if(process.platform === 'win32') {
filePath = filePath.replace(/\\/g, '/');
}
var
outputPath = filePath.replace(paths.source.definitions, paths.output.uncompressed + 'definitions/')
;

Loading…
Cancel
Save