From 9aa6058459f6bd71a90b3a3f3013c8eb2b0cead3 Mon Sep 17 00:00:00 2001 From: David Rajchenbach-Teller Date: Fri, 24 Aug 2012 16:18:16 -0400 Subject: [PATCH] Bug 783676 - Export OS.Path. r=taras --- toolkit/components/osfile/ospath_unix_back.jsm | 2 ++ toolkit/components/osfile/ospath_win_back.jsm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/toolkit/components/osfile/ospath_unix_back.jsm b/toolkit/components/osfile/ospath_unix_back.jsm index 318171233a21..ef6fd7ae525e 100644 --- a/toolkit/components/osfile/ospath_unix_back.jsm +++ b/toolkit/components/osfile/ospath_unix_back.jsm @@ -129,4 +129,6 @@ if (typeof Components != "undefined") { }; } }; + + exports.OS.Path = exports.OS.Unix.Path; }(this)); diff --git a/toolkit/components/osfile/ospath_win_back.jsm b/toolkit/components/osfile/ospath_win_back.jsm index 2d0f62743654..e628ee31b37f 100644 --- a/toolkit/components/osfile/ospath_win_back.jsm +++ b/toolkit/components/osfile/ospath_win_back.jsm @@ -260,4 +260,6 @@ if (typeof Components != "undefined") { let trimBackslashes = function trimBackslashes(string) { return string.replace(/^\\+|\\+$/g,''); }; + + exports.OS.Path = exports.OS.Win.Path; }(this));