tests/Leaflet/sl-application.js
// Find a url param by name
Find a url param by name
Find a url param by name
function gup( name,url )
{
    var regexS = "[\\?&]"+name+"=([^&#]*)";
    var regex = new RegExp( regexS );
    var tmpURL = (url === undefined) ? window.location.href : url;
    var results = regex.exec( tmpURL );
    if( results == null )
        return "";
    else
        return results[1];
}
function gup ( name , url ) { var regexS = "[\\?&]" + name + "=([^&#]*)" ; var regex = new RegExp ( regexS ) ; var tmpURL = ( url === undefined ) ? window . location . href : url ; var results = regex . exec ( tmpURL ) ; if ( results == null ) return "" ; else return results [ 1 ] ; }
Find a url param by name
Find a url param by name