changeset 307:7b21ebd95ad3

simplify argument format
author Myk Melez <myk@mozilla.org>
date Wed, 08 Oct 2008 17:03:47 -0700
parents 58fb965e56b9
children 553ceeb3507b
files modules/URI.js
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/modules/URI.js	Wed Oct 08 16:43:45 2008 -0700
+++ b/modules/URI.js	Wed Oct 08 17:03:47 2008 -0700
@@ -46,17 +46,17 @@
  * class, but in the future it might return an instance of this class and have
  * a more JS-friendly API for accessing and manipulating the URI.
  */
-function URI(aSpec, aCharset, aBaseURI) {
-  return URI.ioSvc.newURI(aSpec, aCharset, aBaseURI);
+function URI(spec, charset, baseURI) {
+  return URI.ioSvc.newURI(spec, charset, baseURI);
 }
 
 /**
  * Get a URI.  Similar to the constructor, but returns null instead of throwing
  * an exception if the URI object could not be constructed.
  */
-URI.get = function(aSpec, aCharset, aBaseURI) {
+URI.get = function(spec, charset, baseURI) {
   try {
-    return new URI(aSpec, aCharset, aBaseURI);
+    return new URI(spec, charset, baseURI);
   }
   catch(ex) {
     return null;