Merge pull request #979 from CatoAntonsen/fix_filepath

Fix this.file path
This commit is contained in:
Michael Teeuw
2017-08-10 16:26:03 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ var Module = Class.extend({
* return string - File path.
*/
file: function (file) {
return this.data.path + "/" + file;
return (this.data.path + "/" + file).replace("//", "/");
},
/* loadStyles()