1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 10:35:45 +01:00

should push 'Win32' to confing.features before io.js is initialized

This commit is contained in:
teramako
2009-11-13 00:30:54 +09:00
parent 7f0a8a9ede
commit 93bfd0880f

View File

@@ -66,6 +66,8 @@ const Liberator = Module("liberator", {
// without explicitly selecting a profile. // without explicitly selecting a profile.
/** @property {string} The name of the current user profile. */ /** @property {string} The name of the current user profile. */
this.profileName = services.get("directory").get("ProfD", Ci.nsIFile).leafName.replace(/^.+?\./, ""); this.profileName = services.get("directory").get("ProfD", Ci.nsIFile).leafName.replace(/^.+?\./, "");
config.features.push(Liberator.getPlatformFeature());
}, },
destroy: function () { destroy: function () {
@@ -1730,8 +1732,6 @@ const Liberator = Module("liberator", {
}; };
}, },
load: function () { load: function () {
config.features.push(Liberator.getPlatformFeature());
liberator.triggerObserver("load"); liberator.triggerObserver("load");
liberator.log("All modules loaded", 3); liberator.log("All modules loaded", 3);