Lines Matching refs:length
227 …var displayTime = $(this.cssSelector.playlist + " ul").children().length ? this.options.playlistOp…
240 if(self.playlist.length) {
321 if($(this.cssSelector.shuffle).length && $(this.cssSelector.shuffleOff).length) {
332 if(this.playlist.length && index !== undefined) {
349 this.play(this.playlist.length - 1);
351 if(this.original.length === 1) {
370 …index = (index < 0) ? self.original.length + index : index; // Negative index relates to end of ar…
371 if(0 <= index && index < this.playlist.length) {
391 if(self.original.length) {
393 …self.current = (index < self.original.length) ? self.current : self.original.length - 1; // To cop…
413 …index = (index < 0) ? this.original.length + index : index; // Negative index relates to end of ar…
414 if(0 <= index && index < this.playlist.length) {
423 …index = (index < 0) ? this.original.length + index : index; // Negative index relates to end of ar…
424 if(0 <= index && index < this.playlist.length) {
425 if(this.playlist.length) {
437 var index = (this.current + 1 < this.playlist.length) ? this.current + 1 : 0;
441 …=== 0 && this.shuffled && this.options.playlistOptions.shuffleOnLoop && this.playlist.length > 1) {
454 var index = (this.current - 1 >= 0) ? this.current - 1 : this.playlist.length - 1;
456 … if(this.loop && this.options.playlistOptions.loopOnPrevious || index < this.playlist.length - 1) {