Changeset 828364


Ignore:
Timestamp:
Jul 17, 2009, 8:03:40 PM (12 years ago)
Author:
rene <rene@…>
Branches:
lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
Children:
760e16
Parents:
ec2633
Message:

added explicit variable declarations

Location:
chrome/content/v_identity
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_getHeader.js

    rec2633 r828364  
    127127                    hdr.setStringProperty(vI_getHeader.headerToSearch[index].headerNameToStore,vI_getHeader.unicodeConverter.ConvertFromUnicode(value) + vI_getHeader.unicodeConverter.Finish());
    128128
    129                     storedValue = hdr.getProperty(vI_getHeader.headerToSearch[index].headerNameToStore)
    130                     storedConvValue = vI_getHeader.unicodeConverter.ConvertToUnicode(storedValue)
     129                    var storedValue = hdr.getProperty(vI_getHeader.headerToSearch[index].headerNameToStore)
     130                    var storedConvValue = vI_getHeader.unicodeConverter.ConvertToUnicode(storedValue)
    131131                    vI_notificationBar.dump("## vI_getHeader: found header: " + headerName +
    132132                        "[:" + currentHeadersCounter[headerName] + "] - stored as '" +
  • chrome/content/v_identity/vI_notificationBar.js

    rec2633 r828364  
    104104    clear_dump : function() {
    105105        if (!vI_notificationBar.Obj_DebugBox) return;
    106         new_DebugBox = vI_notificationBar.Obj_DebugBox.cloneNode(false);
     106        var new_DebugBox = vI_notificationBar.Obj_DebugBox.cloneNode(false);
    107107        vI_notificationBar.Obj_DebugBox.parentNode.replaceChild(
    108108            new_DebugBox, vI_notificationBar.Obj_DebugBox);
  • chrome/content/v_identity/vI_rdfDatasource.js

    rec2633 r828364  
    109109
    110110    rdfUpgradeRequired: function() {
    111         oldRdfVersion = vI_rdfDatasource.getCurrentRDFFileVersion();
     111        var oldRdfVersion = vI_rdfDatasource.getCurrentRDFFileVersion();
    112112        var versionChecker = Components.classes["@mozilla.org/xpcom/version-comparator;1"]
    113113            .getService(Components.interfaces.nsIVersionComparator);
     
    116116   
    117117    extUpgradeRequired: function() {
    118         oldExtVersion = vI_rdfDatasource.getCurrentExtFileVersion()
     118        var oldExtVersion = vI_rdfDatasource.getCurrentExtFileVersion()
    119119        var versionChecker = Components.classes["@mozilla.org/xpcom/version-comparator;1"]
    120120            .getService(Components.interfaces.nsIVersionComparator);
  • chrome/content/v_identity/vI_smartIdentity.js

    rec2633 r828364  
    298298        // merge SmartReply-Identities and Storage-Identites
    299299        if (vI.preferences.getBoolPref("idSelection_storage_prefer_smart_reply"))
    300             { smartIdentities.mergeWithoutDuplicates(storageIdentities); allIdentities = smartIdentities; }
     300            { smartIdentities.mergeWithoutDuplicates(storageIdentities); var allIdentities = smartIdentities; }
    301301        else
    302             { storageIdentities.mergeWithoutDuplicates(smartIdentities); allIdentities = storageIdentities; }
     302            { storageIdentities.mergeWithoutDuplicates(smartIdentities); var allIdentities = storageIdentities; }
    303303       
    304304        vI_notificationBar.dump("## vI_smartIdentity: merged SmartReply & Storage, " + allIdentities.number + " address(es) left\n")
  • chrome/content/v_identity/vI_storage.js

    rec2633 r828364  
    368368            if (recipientType == "addr_reply" || recipientType == "addr_followup" || vI_storage.__isDoBcc(row)) continue;
    369369            vI_storage.lastCheckedEmail[row] = awGetInputElement(row).value;
    370             recipient = vI_storage.__getDescriptionAndType(awGetInputElement(row).value, recipientType);
     370            var recipient = vI_storage.__getDescriptionAndType(awGetInputElement(row).value, recipientType);
    371371            var storageData = vI_rdfDatasource.readVIdentityFromRDF(recipient.recDesc, recipient.recType);
    372372            if (storageData) allIdentities.addWithoutDuplicates(storageData);
  • chrome/content/v_identity/vI_upgrade.js

    rec2633 r828364  
    157157        rdfContainerUtils.MakeSeq(vI_rdfDatasource.rdfDataSource, filterRes);
    158158       
    159         container = Components.classes["@mozilla.org/rdf/container;1"].
     159        var container = Components.classes["@mozilla.org/rdf/container;1"].
    160160            createInstance(Components.interfaces.nsIRDFContainer);
    161161       
Note: See TracChangeset for help on using the changeset viewer.