Class Index | File Index

Classes


Namespace BTM.Util

Utility Functions
Defined in: util.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
BTM.Util.compareURLs(url1, url1, compareHash)
Compare two URL Strings or Location objects
<static>  
BTM.Util.getHashLoaders(hash, split)
Get an Array of the Hash Loaders in the address
Namespace Detail
BTM.Util
Method Detail
<static> {Boolean} BTM.Util.compareURLs(url1, url1, compareHash)
Compare two URL Strings or Location objects
Parameters:
{Object|String} url1
First URL String or Location object (such as window.location)
{Object|String} url1
Second URL String or Location object (such as window.location)
{Boolean} compareHash Optional, Default: false
flag to also check matching hash (fragment identifier) properties
Returns:
{Boolean} whether the two URLs match

<static> {String[]} BTM.Util.getHashLoaders(hash, split)
Get an Array of the Hash Loaders in the address
Parameters:
{String} hash Optional, Default: window.location.hash
the String to get Hash Loaders from
{String} split Optional, Default: ','
the character used to seperate Hash Loaders
Returns:
{String[]} the extracted Hash Loaders

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Feb 03 2009 04:12:53 GMT+1100 (EST)