Home | History | Annotate | Download | only in js

Lines Matching refs:URL

41  * Generates a CSS url string.
42 * @param {string} s The URL to generate the CSS url for.
43 * @return {string} The CSS url string.
45 function url(s) {
56 return 'url("' + s2 + '")';
61 * @param {string} location The URL to generate the CSS url for.
62 * @return {object} Dictionary containing name value pairs for URL
162 // Handle click on a link. If the link points to a chrome: or file: url, then
193 * Creates a new URL which is the old URL with a GET param of key=value.
194 * @param {string} url The base URL. There is not sanity checking on the URL so
198 * @return {string} The new URL.
200 function appendParam(url, key, value) {
203 if (url.indexOf('?') == -1)
204 return url + '?' + param;
205 return url + '&' + param;