Bug 783676 - Export OS.Path. r=taras

This commit is contained in:
David Rajchenbach-Teller 2012-08-24 16:18:16 -04:00
parent 8795bbf704
commit 326e47e183
2 changed files with 4 additions and 0 deletions

View File

@ -129,4 +129,6 @@ if (typeof Components != "undefined") {
}; };
} }
}; };
exports.OS.Path = exports.OS.Unix.Path;
}(this)); }(this));

View File

@ -260,4 +260,6 @@ if (typeof Components != "undefined") {
let trimBackslashes = function trimBackslashes(string) { let trimBackslashes = function trimBackslashes(string) {
return string.replace(/^\\+|\\+$/g,''); return string.replace(/^\\+|\\+$/g,'');
}; };
exports.OS.Path = exports.OS.Win.Path;
}(this)); }(this));