From 1b970e7946cd17ffbcc50261e8eb706c870bff04 Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Tue, 11 Feb 2014 12:46:44 +0200 Subject: [PATCH 1/2] Navigation: Add documentation for $.mobile.path.makePathAbsolute Fixes gh-248 --- .../jQuery.mobile.path.makePathAbsolute.xml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 entries/jQuery.mobile.path.makePathAbsolute.xml diff --git a/entries/jQuery.mobile.path.makePathAbsolute.xml b/entries/jQuery.mobile.path.makePathAbsolute.xml new file mode 100644 index 00000000..64a452f7 --- /dev/null +++ b/entries/jQuery.mobile.path.makePathAbsolute.xml @@ -0,0 +1,49 @@ + + + jQuery.mobile.path.makePathAbsolute() + Utility method for converting a relative file or directory path into an absolute path. + + + + A relative file or directory path. + + + + + An absolute file or directory path against which to resolve. + + + + + Various uses of jQuery.mobile.path.makePathAbsolute + + + + +
The result will be displayed here
+ ]]> + +
+ +

Given a path that is relative to another absolute path, this utility will convert the relative path to an absolute path based on the given absolute path.

+
+ +
From a71ea363715c1885f41ea12e6b95c51027bc38e8 Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Thu, 20 Feb 2014 00:00:43 +0200 Subject: [PATCH 2/2] Navigation: Remove XHTML notation and ids from example --- entries/jQuery.mobile.path.makePathAbsolute.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entries/jQuery.mobile.path.makePathAbsolute.xml b/entries/jQuery.mobile.path.makePathAbsolute.xml index 64a452f7..8301965f 100644 --- a/entries/jQuery.mobile.path.makePathAbsolute.xml +++ b/entries/jQuery.mobile.path.makePathAbsolute.xml @@ -25,8 +25,8 @@ ]]> - - + +
The result will be displayed here
]]>