[Pkg-mozext-commits] [perspectives-extension] 15/44: Perspectives - fix == usage

David Prévot taffit at moszumanska.debian.org
Sun Jun 26 04:59:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository perspectives-extension.

commit e5de9dd946b517aa5314aaedce838fc793114e87
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Sun Jun 12 20:35:36 2016 -0700

    Perspectives - fix == usage
---
 plugin/chrome/content/notaries.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugin/chrome/content/notaries.js b/plugin/chrome/content/notaries.js
index c200b8f..63f6428 100644
--- a/plugin/chrome/content/notaries.js
+++ b/plugin/chrome/content/notaries.js
@@ -56,7 +56,7 @@ var Perspectives = {
 	init_data: function() {
 		var success = true;
 
-		if(Perspectives.root_prefs == null) {
+		if(Perspectives.root_prefs === null) {
 			var prefstr = "@mozilla.org/preferences-service;1";
 			if(prefstr in Components.classes) {
 				Perspectives.root_prefs = Components.classes[prefstr].
@@ -69,7 +69,7 @@ var Perspectives = {
 			}
 		}
 
-		if(Perspectives.overrideService == null) {
+		if(Perspectives.overrideService === null) {
 			var servstr = "@mozilla.org/security/certoverride;1";
 			if(servstr in Components.classes) {
 				Perspectives.overrideService = Components.classes[servstr].
@@ -590,7 +590,7 @@ var Perspectives = {
 	// Updates the status of the current page
 	updateStatus: function(win, is_forced) {
 
-		if(Perspectives.strbundle == null) {
+		if(Perspectives.strbundle === null) {
 			Perspectives.strbundle = document.getElementById("notary_strings");
 		}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list