Permalink
Browse files

Changed references to window.location in docs to more explicit (and m…

…ore correct) window.location.href)
  • Loading branch information...
1 parent 83d198e commit 8e0064ba68a34bcd805e15499cb45de3f4cc398d @cowboy cowboy committed Sep 7, 2010

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -25,7 +25,7 @@
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt4"><div class=CFunction>Parse the fragment (hash) from a URL or the current window.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt5"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing fragment/hash params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt6"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current window.location.</div></div><div class=CToolTip id="tt7"><div class=CFunction>Merge a URL, with or without pre-existing fragment (hash) params, plus any object, params string or URL containing fragment (hash) params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt4"><div class=CFunction>Parse the fragment (hash) from a URL or the current window.location.href, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt5"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing fragment/hash params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt6"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current window.location.href.</div></div><div class=CToolTip id="tt7"><div class=CFunction>Merge a URL, with or without pre-existing fragment (hash) params, plus any object, params string or URL containing fragment (hash) params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
@@ -45,7 +45,7 @@
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt12"><div class=CFunction>Parse the query string from a URL or the current window.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt13"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing query string params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt14"><div class=CFunction>Retrieve the query string from a URL or if no arguments are passed, the current window.location.</div></div><div class=CToolTip id="tt15"><div class=CFunction>Merge a URL, with or without pre-existing query string params, plus any object, params string or URL containing query string params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt12"><div class=CFunction>Parse the query string from a URL or the current window.location.href, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt13"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing query string params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt14"><div class=CFunction>Retrieve the query string from a URL or if no arguments are passed, the current window.location.href.</div></div><div class=CToolTip id="tt15"><div class=CFunction>Merge a URL, with or without pre-existing query string params, plus any object, params string or URL containing query string params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
View
@@ -25,7 +25,7 @@
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt7"><div class=CFunction>Parse the fragment (hash) from a URL or the current window.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt8"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing fragment/hash params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt9"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current window.location.</div></div><div class=CToolTip id="tt10"><div class=CFunction>Merge a URL, with or without pre-existing fragment (hash) params, plus any object, params string or URL containing fragment (hash) params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt7"><div class=CFunction>Parse the fragment (hash) from a URL or the current window.location.href, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt8"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing fragment/hash params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt9"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current window.location.href.</div></div><div class=CToolTip id="tt10"><div class=CFunction>Merge a URL, with or without pre-existing fragment (hash) params, plus any object, params string or URL containing fragment (hash) params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
@@ -57,7 +57,7 @@
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt21"><div class=CFunction>Parse the query string from a URL or the current window.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt22"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing query string params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt23"><div class=CFunction>Retrieve the query string from a URL or if no arguments are passed, the current window.location.</div></div><div class=CToolTip id="tt24"><div class=CFunction>Merge a URL, with or without pre-existing query string params, plus any object, params string or URL containing query string params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt21"><div class=CFunction>Parse the query string from a URL or the current window.location.href, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt22"><div class=CFunction>Update URL attribute in one or more elements, merging the current URL (with or without pre-existing query string params) plus any params object or string into a new URL, which is then set into that attribute. </div></div><div class=CToolTip id="tt23"><div class=CFunction>Retrieve the query string from a URL or if no arguments are passed, the current window.location.href.</div></div><div class=CToolTip id="tt24"><div class=CFunction>Merge a URL, with or without pre-existing query string params, plus any object, params string or URL containing query string params into a new URL.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
View
@@ -1,4 +1,4 @@
1.4
JavaScript
-/srv/projects/jquery-bbq-dev/jquery.ba-bbq.js 1282876144 1 jQuery BBQ: Back Button & Query Library
-/srv/projects/jquery-bbq-dev/jquery.ba-bbq.min.js 1282876213 0 /srv/projects/jquery-bbq-dev/jquery.ba-bbq.min.js
+/srv/projects/jquery-bbq-dev/jquery.ba-bbq.js 1283861208 1 jQuery BBQ: Back Button & Query Library
+/srv/projects/jquery-bbq-dev/jquery.ba-bbq.min.js 1283861226 0 /srv/projects/jquery-bbq-dev/jquery.ba-bbq.min.js
View
Binary file not shown.
View
@@ -158,7 +158,7 @@
// Method: jQuery.param.querystring
//
// Retrieve the query string from a URL or if no arguments are passed, the
- // current window.location.
+ // current window.location.href.
//
// Usage:
//
@@ -167,7 +167,7 @@
// Arguments:
//
// url - (String) A URL containing query string params to be parsed. If url
- // is not passed, the current window.location is used.
+ // is not passed, the current window.location.href is used.
//
// Returns:
//
@@ -206,7 +206,7 @@
// Method: jQuery.param.fragment
//
// Retrieve the fragment (hash) from a URL or if no arguments are passed, the
- // current window.location.
+ // current window.location.href.
//
// Usage:
//
@@ -215,7 +215,7 @@
// Arguments:
//
// url - (String) A URL containing fragment (hash) params to be parsed. If
- // url is not passed, the current window.location is used.
+ // url is not passed, the current window.location.href is used.
//
// Returns:
//
@@ -308,7 +308,7 @@
} else {
// If URL was passed in, parse params from URL string, otherwise parse
- // params from window.location.
+ // params from window.location.href.
result = get_func( url !== undefined ? url : location.href );
}
@@ -557,7 +557,7 @@
// Method: jQuery.deparam.querystring
//
- // Parse the query string from a URL or the current window.location,
+ // Parse the query string from a URL or the current window.location.href,
// deserializing it into an object, optionally coercing numbers, booleans,
// null and undefined values.
//
@@ -568,8 +568,8 @@
// Arguments:
//
// url - (String) An optional params string or URL containing query string
- // params to be parsed. If url is omitted, the current window.location
- // is used.
+ // params to be parsed. If url is omitted, the current
+ // window.location.href is used.
// coerce - (Boolean) If true, coerces any numbers or true, false, null, and
// undefined to their actual value. Defaults to false if omitted.
//
@@ -579,7 +579,7 @@
// Method: jQuery.deparam.fragment
//
- // Parse the fragment (hash) from a URL or the current window.location,
+ // Parse the fragment (hash) from a URL or the current window.location.href,
// deserializing it into an object, optionally coercing numbers, booleans,
// null and undefined values.
//
@@ -590,7 +590,7 @@
// Arguments:
//
// url - (String) An optional params string or URL containing fragment (hash)
- // params to be parsed. If url is omitted, the current window.location
+ // params to be parsed. If url is omitted, the current window.location.href
// is used.
// coerce - (Boolean) If true, coerces any numbers or true, false, null, and
// undefined to their actual value. Defaults to false if omitted.

0 comments on commit 8e0064b

Please sign in to comment.