Changeset 9120

Show
Ignore:
Timestamp:
04/08/08 14:30:23 (7 years ago)
Author:
drry
Message:

lang/javascript/vimperator-plugins/trunk/gmail_biff.js:

  • added a missing var.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/gmail_biff.js

    r9118 r9120  
    2525        'jqBDzlGuKh2YYD7mA6AB+4/uRP+1HACDAD3ikEe/0iVYUIjCuOPxarxq6bGGrCH2umuqeX3ql/wN'+ 
    2626        'QBozxfxKbAIAAAAASUVORK5CYII='; 
    27      
     27 
    2828    const ICON2 = 'data:image/png;base64,'+ 
    2929        'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAAAAABqCHz+AAAACXBIWXMAAABIAAAASABGyWs+AAAA'+ 
     
    4444    gmailPanel.addEventListener("click",function(e){ 
    4545    },false); 
    46     document.getElementById('status-bar').insertBefore( 
    47         gmailPanel,document.getElementById('security-button')); 
     46    document.getElementById('status-bar') 
     47            .insertBefore(gmailPanel,document.getElementById('security-button')); 
    4848 
    4949    setTimeout(function() { 
     
    5252            var logins = passwordManager.findLogins({}, 'https://www.google.com', 'https://www.google.com', null); 
    5353            if(logins.length) 
    54                 [gmailUser, gmailPassword] = [logins[0].username, logins[0].password]; 
     54                var [gmailUser, gmailPassword] = [logins[0].username, logins[0].password]; 
    5555            else { 
    5656                liberator.echoerr("GMail Biff: account not found"); 
     
    6868        } catch(e) { 
    6969            liberator.log(e); 
    70             liberator.echoerr("GMail Biff: " + e); 
     70            liberator.echoerr("Gmail Biff: " + e); 
    7171        } 
    7272    }, 1000);