File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,6 +209,10 @@ declare namespace Polymer {
209209 * this element. This method will return the same URL before and after
210210 * bundling.
211211 *
212+ * Note that this function performs no resolution for URLs that start
213+ * with `/` (absolute URLs) or `#` (hash identifiers). For general purpose
214+ * URL resolution, use `window.URL`.
215+ *
212216 * @param url URL to resolve.
213217 * @param base Optional base URL to resolve against, defaults
214218 * to the element's `importPath`
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ declare namespace Polymer {
2121 /**
2222 * Resolves the given URL against the provided `baseUri'.
2323 *
24+ * Note that this function performs no resolution for URLs that start
25+ * with `/` (absolute URLs) or `#` (hash identifiers). For general purpose
26+ * URL resolution, use `window.URL`.
27+ *
2428 * @returns resolved URL
2529 */
2630 function resolveUrl ( url : string , baseURI ?: string | null ) : string ;
You can’t perform that action at this time.
0 commit comments