Skip to content

Commit 912c63c

Browse files
author
Chris K
committed
Added a requirement comment in the URI class.
1 parent 393d273 commit 912c63c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/scripts/uri.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ var URIPrototype = function(uri_prop_name)
2020
abs_dir // protocol plus hostname plus dir_pathname
2121
path_parts // list of "directories" in pathname
2222
short_distinguisher // the last part of a url that can be used to distinguish it
23+
24+
The value of uri_prop_name (uri) must be ab absolute URI.
25+
For relative URIs the properties have not clear defined values, e.g. "a.b"
26+
could be a host or a filename.
2327
*/
2428

2529
var DATA_URI_LENGTH_SHORT = 25;

0 commit comments

Comments
 (0)