Lines Matching refs:url
6 * Adds support for parsing complex callback identifiers from the jsonp url.
11 * @submodule jsonp-url
18 * name into the JSONP url. Looks for a query param callback=. If a value
30 * name to the url.
40 * <p>Parses the url for a callback named explicitly in the string.
42 * parameter or url format.</p>
48 * @param url {String} the url to search in
52 _defaultCallback: function (url) {
53 var match = url.match(this._pattern),
94 * URL formatter that looks for callback= in the url and appends it
100 * @param url { String } the original url
103 * @return {String} fully qualified JSONP url
106 _format: function (url, proxy) {
110 if (this._pattern.test(url)) {
111 return url.replace(this._pattern, callback);
113 lastChar = url.slice(-1);
115 url += (url.indexOf('?') > -1) ? '&' : '?';
117 return url + callback;