js-uri - A JavaScript implementation of an URI object. - Google Project Hosting URI objects are handy...

Please Visit: http://ift.tt/1ajReyV



js-uri - A JavaScript implementation of an URI object. - Google Project Hosting



URI objects are handy things for manipulating URLs. They let you parse and resolve URIs quickly and easily. e.g.

var some_uri = new URI("http://ift.tt/1fPSS4h");

alert(some_uri.authority); // www.example.com

alert(some_uri); // http://ift.tt/1fPSS4h

var blah = new URI("blah");

var blah_full = blah.resolve(some_uri);

alert(blah_full); // http://ift.tt/1oqN6Ge

Read full article from: http://ift.tt/1fPSUcl

http://ift.tt/1kCENWW



js-uri - A JavaScript implementation of an URI object. - Google Project Hosting







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1fPSUcm

via LifeLong Community

No comments:

Post a Comment