From 93bfd0880fc99ef79b8cd199c0f7a56abeb77f08 Mon Sep 17 00:00:00 2001 From: teramako Date: Fri, 13 Nov 2009 00:30:54 +0900 Subject: [PATCH] should push 'Win32' to confing.features before io.js is initialized --- common/content/liberator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/liberator.js b/common/content/liberator.js index 086c5421..8e329f4a 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -66,6 +66,8 @@ const Liberator = Module("liberator", { // without explicitly selecting a profile. /** @property {string} The name of the current user profile. */ this.profileName = services.get("directory").get("ProfD", Ci.nsIFile).leafName.replace(/^.+?\./, ""); + + config.features.push(Liberator.getPlatformFeature()); }, destroy: function () { @@ -1730,8 +1732,6 @@ const Liberator = Module("liberator", { }; }, load: function () { - config.features.push(Liberator.getPlatformFeature()); - liberator.triggerObserver("load"); liberator.log("All modules loaded", 3);