Skip to content
Snippets Groups Projects
Commit 25d2fa9d authored by ale's avatar ale
Browse files

add namespace at start

parent 62db8d8f
No related branches found
No related tags found
No related merge requests found
// player.js
// Namespace.
djr = {};
// Utility functions.
var CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
djr.generateRandomId = function() {
var uuid = [], chars = CHARS, i;
......@@ -8,6 +13,7 @@ djr.generateRandomId = function() {
return uuid.join('');
};
// Backend API stub.
djr.Backend = function(userid) {
......@@ -235,8 +241,6 @@ djr.Player.prototype.nextSong = function() {
djr = {};
djr.state = {
backend: null,
player: null,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment