steal.File.prototype.toReferenceFromSameDomain  function     

Returns the relative path between two paths with common folders.

new steal.File('a/b/c/x/y').toReferenceFromSameDomain('a/b/c/d/e')//-> ../../x/y
steal.file.toReferenceFromSameDomain(url) -> String
{Object}
{String}
© Jupiter IT - JavaScriptMVC Training and Support