Commit 48ab3150 authored by hass's avatar hass
Browse files

Added more documenation to getPageUrl()

parent a47ef8fa
......@@ -132,6 +132,10 @@ Drupal.googleanalytics.isInternalSpecial = function (url) {
/**
* Extract the relative internal URL from an absolute internal URL.
*
* Examples:
* - http://mydomain.com/node/1 -> /node/1
* - http://example.com/foo/bar -> http://example.com/foo/bar
*
* @param string url
* The web url to check.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment