allowing plugins to define new sounds -- woot.

Also moving the core sounds into a separate package, soundpack-default
This commit is contained in:
Julian Lam
2014-04-12 18:33:52 -04:00
parent f8a6ab5cf4
commit df8728c785
9 changed files with 50 additions and 17 deletions

View File

@@ -54,14 +54,8 @@ module.exports = function(app, middleware, controllers) {
});
app.get('/test', function(req, res) {
var groups = require('../groups');
groups.list({
showAllGroups: true
}, function(err, groups) {
res.json(200, groups);
});
// res.send(200);
require('../meta').sounds.init();
res.send(200);
});
});
};