From bcb1b170d3f4167ae6c4ecce6801943369ac5088 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 11 Apr 2020 09:22:11 +1000 Subject: [PATCH] docs: Fix simple typo, violing -> violin There is a small typo in build/nv.d3.js, src/models/distroPlot.js. Should read `violin` rather than `violing`. --- build/nv.d3.js | 54 ++++++++++++++++++++-------------------- src/models/distroPlot.js | 2 +- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/build/nv.d3.js b/build/nv.d3.js index d526089f88..d310acf837 100644 --- a/build/nv.d3.js +++ b/build/nv.d3.js @@ -154,31 +154,31 @@ if (typeof(module) !== 'undefined' && typeof(exports) !== 'undefined') { if (typeof(window) !== 'undefined') { window.nv = nv; } -/* Facade for queueing DOM write operations - * with Fastdom (https://github.com/wilsonpage/fastdom) - * if available. - * This could easily be extended to support alternate - * implementations in the future. - */ -nv.dom.write = function(callback) { - if (window.fastdom !== undefined) { - return fastdom.mutate(callback); - } - return callback(); -}; - -/* Facade for queueing DOM read operations - * with Fastdom (https://github.com/wilsonpage/fastdom) - * if available. - * This could easily be extended to support alternate - * implementations in the future. - */ -nv.dom.read = function(callback) { - if (window.fastdom !== undefined) { - return fastdom.measure(callback); - } - return callback(); -}; +/* Facade for queueing DOM write operations + * with Fastdom (https://github.com/wilsonpage/fastdom) + * if available. + * This could easily be extended to support alternate + * implementations in the future. + */ +nv.dom.write = function(callback) { + if (window.fastdom !== undefined) { + return fastdom.mutate(callback); + } + return callback(); +}; + +/* Facade for queueing DOM read operations + * with Fastdom (https://github.com/wilsonpage/fastdom) + * if available. + * This could easily be extended to support alternate + * implementations in the future. + */ +nv.dom.read = function(callback) { + if (window.fastdom !== undefined) { + return fastdom.measure(callback); + } + return callback(); +}; /* Utility class to handle creation of an interactive layer. This places a rectangle on top of the chart. When you mouse move over it, it sends a dispatch containing the X-coordinate. It can also render a vertical line where the mouse is located. @@ -5019,7 +5019,7 @@ nv.models.distroPlot = function() { * of the violin. * * @param (list) kde - x & y kde cooridinates - * @param (list) extent - min/max y-values used for clamping violing + * @param (list) extent - min/max y-values used for clamping violin */ function clampViolinKDE(kde, extent) { @@ -18123,4 +18123,4 @@ nv.models.sunburstChart = function() { nv.version = "1.8.6-dev"; })(); -//# sourceMappingURL=nv.d3.js.map \ No newline at end of file +//# sourceMappingURL=nv.d3.js.map diff --git a/src/models/distroPlot.js b/src/models/distroPlot.js index 1714ed56f1..d3e64eda42 100644 --- a/src/models/distroPlot.js +++ b/src/models/distroPlot.js @@ -341,7 +341,7 @@ nv.models.distroPlot = function() { * of the violin. * * @param (list) kde - x & y kde cooridinates - * @param (list) extent - min/max y-values used for clamping violing + * @param (list) extent - min/max y-values used for clamping violin */ function clampViolinKDE(kde, extent) {