This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<head> | |
<link href="css/bootstrap.css" rel="stylesheet"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" id="jquery"></script> | |
</head> | |
<html> | |
<title>localchat</title> | |
<body> | |
<h1>Sorry, we don't have much stuff yet!</h1> | |
<!--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var async = require('async'); //Dat speed | |
exports.loadAudioDefault = function(req, res) | |
{ | |
//This route returns a json object with an array of all the MongoDB documents | |
//returned by the query. These documents are audio files. | |
this.db.collection('audio', function(err, collection) | |
{ | |
var audio = { | |
'audio':[], | |
'settings':{ |