code review for #390

pull/2/head
gorhill 9 years ago
parent 8c6413bfe2
commit 72c9429d74

@ -74,7 +74,7 @@ var contentObserver = {
cpMessageName: hostName + ':shouldLoad',
uniqueSandboxId: 1,
modernFirefox: Services.appinfo.ID === '{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' &&
Services.vc.compare(Services.appinfo.platformVersion, '45.0') >= 0,
Services.vc.compare(Services.appinfo.platformVersion, '44') > 0,
get componentRegistrar() {
return Components.manager.QueryInterface(Ci.nsIComponentRegistrar);

@ -47,7 +47,7 @@ const {Services} = Cu.import('resource://gre/modules/Services.jsm', null);
var vAPI = self.vAPI = self.vAPI || {};
vAPI.firefox = true;
vAPI.modernFirefox = Services.appinfo.ID === '{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' &&
Services.vc.compare(Services.appinfo.platformVersion, '45.0') >= 0;
Services.vc.compare(Services.appinfo.platformVersion, '44') > 0;
/******************************************************************************/

Loading…
Cancel
Save