0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-06-18 17:51:23 +02:00
doodle3d-client/js/utils.js

8 lines
222 B
JavaScript
Raw Normal View History

// http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery
function getURLParameter(name) {
return decodeURI(
(new RegExp('[&?]'+name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]
);
}