author | David Rajchenbach-Teller <dteller@mozilla.com> |
Fri, 24 Aug 2012 16:18:16 -0400 | |
changeset 103343 | c97a5e95e1aeb2d1d2ba14d9b32935d917279c68 |
parent 103342 | 1fd86c175258ec5235ae95212b6225033a78fa74 |
child 103344 | f6ec0707def6e9348e563e84b2945fc74bdfc921 |
push id | 13945 |
push user | ryanvm@gmail.com |
push date | Fri, 24 Aug 2012 20:18:14 +0000 |
treeherder | mozilla-inbound@b3c861bd1e2f [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | taras |
bugs | 783676 |
milestone | 17.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
toolkit/components/osfile/ospath_unix_back.jsm | file | annotate | diff | comparison | revisions | |
toolkit/components/osfile/ospath_win_back.jsm | file | annotate | diff | comparison | revisions |
--- a/toolkit/components/osfile/ospath_unix_back.jsm +++ b/toolkit/components/osfile/ospath_unix_back.jsm @@ -124,9 +124,11 @@ if (typeof Components != "undefined") { */ split: function split(path) { return { absolute: path.length && path[0] == "/", components: path.split("/") }; } }; + + exports.OS.Path = exports.OS.Unix.Path; }(this));
--- a/toolkit/components/osfile/ospath_win_back.jsm +++ b/toolkit/components/osfile/ospath_win_back.jsm @@ -255,9 +255,11 @@ if (typeof Components != "undefined") { /** * Utility function: Remove any leading/trailing backslashes * from a string. */ let trimBackslashes = function trimBackslashes(string) { return string.replace(/^\\+|\\+$/g,''); }; + + exports.OS.Path = exports.OS.Win.Path; }(this));