diff -r 06af20e663f2 -r 7ff24154351d web/data/cubicweb.htmlhelpers.js --- a/web/data/cubicweb.htmlhelpers.js Tue Apr 21 19:20:56 2009 +0200 +++ b/web/data/cubicweb.htmlhelpers.js Wed Apr 22 16:50:46 2009 +0200 @@ -111,13 +111,13 @@ } /* builds an url from an object (used as a dictionnary) - * Notable difference with MochiKit's queryString: as_url does not + * Notable difference with MochiKit's queryString: asURL does not * *url_quote* each value found in the dictionnary * - * >>> as_url({'rql' : "RQL", 'x': [1, 2], 'itemvid' : "oneline"}) + * >>> asURL({'rql' : "RQL", 'x': [1, 2], 'itemvid' : "oneline"}) * rql=RQL&vid=list&itemvid=oneline&x=1&x=2 */ -function as_url(props) { +function asURL(props) { var chunks = []; for(key in props) { var value = props[key];