[Pkg-mozext-commits] [nosquint] 35/47: Initialize contentType attribute before accessing

David Prévot taffit at moszumanska.debian.org
Tue Apr 28 01:41:19 UTC 2015


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

taffit pushed a commit to annotated tag 2.1.6
in repository nosquint.

commit 2f757468f8ea96e295ef6c1ab75e30ff112fed10
Author: Jason Tackaberry <tack at urandom.ca>
Date:   Wed Jan 25 20:03:27 2012 -0500

    Initialize contentType attribute before accessing
    
    Fixes "reference to undefined property" warning.
---
 src/content/interfaces.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/content/interfaces.js b/src/content/interfaces.js
index dfb4867..b97772c 100644
--- a/src/content/interfaces.js
+++ b/src/content/interfaces.js
@@ -24,6 +24,7 @@ NoSquint.interfaces = NoSquint.ns(function() { with (NoSquint) {
     this.ProgressListener = function(browser) {
         this.id = 'NoSquint.interfaces.ProgressListener';
         this.browser = browser;
+        this.contentType = null;
     }
 
     this.ProgressListener.prototype = {

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



More information about the Pkg-mozext-commits mailing list