Mercurial > pub > ImplabJs
comparison src/implab/Uri.js @ 3:00779cb63b12
formatting
author | cin |
---|---|
date | Tue, 06 Jun 2017 19:45:32 +0300 |
parents | fc2517695ee1 |
children |
comparison
equal
deleted
inserted
replaced
2:7d7059d2a810 | 3:00779cb63b12 |
---|---|
1 define( | 1 define( |
2 [ "dojo/_base/declare" ], | 2 [ "./declare" ], |
3 function(declare) { | 3 function(declare) { |
4 function parseURI(uri) { | 4 function parseURI(uri) { |
5 var schema, host, port, path, query, hash, i; | 5 var schema, host, port, path, query, hash, i; |
6 if (typeof (uri) == "string") { | 6 if (typeof (uri) == "string") { |
7 if ((i = uri.indexOf(":")) >= 0 && | 7 if ((i = uri.indexOf(":")) >= 0 && |