A social sound platform for music & audio creators and consumers.- 10 hours of music and audio uploaded every minute. - Reaches 180 million people. - Present on the web (+mobile), iOS, Android. - API, platform integrations (Twitter, FB, Flipboard, etc.) - Your app!
define(['foo', 'bar'], function(foo, bar) {
// stuff..
return { /* module definition */ };
});
define(function(require, exports, module) {
var foo = require('foo'),
bar = require('bar');
// stuff..
module.exports = /* module definition */;
});
CommonJS wrapper is
generated on the server
<button>Play!</button>
<audio></audio>
{{ view 'views/comments' resourceId=id }}
Model and view
var Sound = Model.extend({
// model implementation
}, {
hashFn: function(attributes) {
return attributes.id;
}
});
var SoundView = View.extend({
ModelClass: Sound,
template: require('sound.hbs')
// view implementation
});