1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 10:01:08 +12:00

code review for #390

This commit is contained in:
gorhill 2015-11-14 10:01:45 -05:00
parent 8c6413bfe2
commit 72c9429d74
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;
/******************************************************************************/