PageRenderTime 56ms CodeModel.GetById 53ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/flash/examples/js/reverse.js

http://echo-nest-remix.googlecode.com/
JavaScript | 12 lines | 8 code | 3 blank | 1 comment | 1 complexity | 670ccd9b86848fb444802fc09ab995b6 MD5 | raw file
 1// see reverse.py
 2
 3function remix (analysis) {
 4    var chunks = analysis.beats;
 5    var result = [];
 6
 7    for (var i = 0; i < chunks.length; i++) {
 8        result.unshift(chunks[i]);
 9    }
10
11    return result;
12}