File: example/functions.js

Recommend this page to a friend!
  Classes of Axel Hahn   AMC JavaScript Audio Player HTML5   example/functions.js   Download  
File: example/functions.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: AMC JavaScript Audio Player HTML5
DIsplay an audio player with surround support
Author: By
Last change: Update of example/functions.js
Date: 2 years ago
Size: 384 bytes


Class file image Download
/** * get query parameters from url as object * @returns {object} */ function getQueryParams() { qs ='+').join(' '); var params = {}, tokens, re = /[?&]?([^=]+)=([^&]*)/g; while (tokens = re.exec(qs)) { params[decodeURIComponent(tokens[1])] = decodeURIComponent(tokens[2]); } return params; }