tonal-array
Advanced tools
Comparing version 0.50.1 to 0.50.2
@@ -151,4 +151,6 @@ 'use strict'; | ||
var ascComp = (a, b) => objHeight(a) - objHeight(b) | ||
var descComp = (a, b) => -ascComp(a, b) | ||
// ascending comparator | ||
function ascComp (a, b) { return objHeight(a) - objHeight(b) } | ||
// descending comparator | ||
function descComp (a, b) { return -ascComp(a, b) } | ||
@@ -155,0 +157,0 @@ /** |
@@ -148,4 +148,6 @@ import { asPitch, isPitch, strPitch } from 'tonal-pitch' | ||
var ascComp = (a, b) => objHeight(a) - objHeight(b) | ||
var descComp = (a, b) => -ascComp(a, b) | ||
// ascending comparator | ||
function ascComp (a, b) { return objHeight(a) - objHeight(b) } | ||
// descending comparator | ||
function descComp (a, b) { return -ascComp(a, b) } | ||
@@ -152,0 +154,0 @@ /** |
{ | ||
"name": "tonal-array", | ||
"version": "0.50.1", | ||
"version": "0.50.2", | ||
"description": "Create and manipulate arrays of notes and intervals", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
29852
433