Lines Matching refs:selection
88 console.log('selection changed');
90 var selection = timeline.selection;
92 if (!selection.length) {
98 if (selection.length == 1) {
100 var slice = selection[0].slice;
124 var tsLo = Math.min.apply(Math, selection.map(
126 var tsHi = Math.max.apply(Math, selection.map(
129 // compute total selection duration
130 var titles = selection.map(function(i) { return i.slice.title; });
133 for (var i = 0; i < selection.length; i++) {
134 var slice = selection[i].slice;
158 rightAlign(String(selection.length), c2Width) + ' occurrences' +