Changeset 690

Show
Ignore:
Timestamp:
03/16/08 04:24:43 (9 months ago)
Author:
oyasu..@gmail.com
Message:

Trimming all trailing whitespace from all *.js files.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/chrome/chromeFiles/content/config.js

    r688 r690  
    4747 
    4848    for (var i = 0, script; script = this._scripts[i]; i++) { 
    49       if (script._namespace.toLowerCase() == namespace  
     49      if (script._namespace.toLowerCase() == namespace 
    5050        && script._name.toLowerCase() == name) { 
    5151        return i; 
     
    452452    } 
    453453 
    454     name = name.replace(/\s+/g, '_').replace(/[^-_A-Z0-9]+/gi, '');  
    455     ext = ext.replace(/\s+/g, '_').replace(/[^-_A-Z0-9]+/gi, '');  
     454    name = name.replace(/\s+/g, '_').replace(/[^-_A-Z0-9]+/gi, ''); 
     455    ext = ext.replace(/\s+/g, '_').replace(/[^-_A-Z0-9]+/gi, ''); 
    456456 
    457457    // If no Latin characters found - use default 
     
    462462 
    463463    if (ext) name += "." + ext; 
    464    
     464 
    465465    return name; 
    466466  }, 
     
    486486  get urlToDownload() { return this._downloadURL; }, 
    487487  setDownloadedFile: function(file) { this._tempFile = file; }, 
    488    
     488 
    489489  get previewURL() { 
    490490    return Components.classes["@mozilla.org/network/io-service;1"] 
  • trunk/src/chrome/chromeFiles/content/install.js

    r493 r690  
    1111    this.setupIncludes("includes", "includes-desc", this.script_.includes); 
    1212    this.setupIncludes("excludes", "excludes-desc", this.script_.excludes); 
    13      
     13 
    1414    this.dialog_ = document.documentElement; 
    1515    this.extraButton_ = this.dialog_.getButton("extra1"); 
     
    100100    } 
    101101  }, 
    102      
     102 
    103103  onOK: function() { 
    104104    this.scriptDownloader_.installScript(); 
  • trunk/src/chrome/chromeFiles/content/updater.js

    r627 r690  
    132132    return false; 
    133133  } 
    134    
     134 
    135135  var xulRuntime = Cc["@mozilla.org/xre/app-info;1"] 
    136136                     .createInstance(Ci.nsIXULRuntime); 
  • trunk/src/components/greasemonkey.js

    r688 r690  
    2828      // services. This didn't happen in FF 2.0.0.11; I'm not sure when it 
    2929      // changed. 
    30       if (stack.filename != null &&  
     30      if (stack.filename != null && 
    3131          stack.filename != gmSvcFilename && 
    3232          stack.filename.substr(0, 6) != 'chrome') {