From 60d2f638d05bc2ce85ebe853cfb629fdd45fce7b Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Sat, 1 Aug 2020 15:16:31 +0200 Subject: [PATCH] Correct quotes, whitespace and truth in debounce comment (#2858) --- modules/debounce.js | 6 +++--- underscore-esm.js | 6 +++--- underscore.js | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/debounce.js b/modules/debounce.js index 99544650d..0ce1f1e4d 100644 --- a/modules/debounce.js +++ b/modules/debounce.js @@ -2,9 +2,9 @@ import restArguments from './restArguments.js'; import delay from './delay.js'; // When a sequence of calls of the returned function ends, the argument -// function is triggered. The end of a sequence is defined by the ‘wait’ -// parameter. If ‘immediate’ is passed, the argument function will be -// triggered at the beginning of the sequence as well. +// function is triggered. The end of a sequence is defined by the `wait` +// parameter. If `immediate` is passed, the argument function will be +// triggered at the beginning of the sequence instead of at the end. export default function debounce(func, wait, immediate) { var timeout, result; diff --git a/underscore-esm.js b/underscore-esm.js index 98dd3ade2..57571a9bd 100644 --- a/underscore-esm.js +++ b/underscore-esm.js @@ -1034,9 +1034,9 @@ function throttle(func, wait, options) { } // When a sequence of calls of the returned function ends, the argument -// function is triggered. The end of a sequence is defined by the ‘wait’ -// parameter. If ‘immediate’ is passed, the argument function will be -// triggered at the beginning of the sequence as well. +// function is triggered. The end of a sequence is defined by the `wait` +// parameter. If `immediate` is passed, the argument function will be +// triggered at the beginning of the sequence instead of at the end. function debounce(func, wait, immediate) { var timeout, result; diff --git a/underscore.js b/underscore.js index 63c32e784..f9f9fbef5 100644 --- a/underscore.js +++ b/underscore.js @@ -1043,9 +1043,9 @@ } // When a sequence of calls of the returned function ends, the argument - // function is triggered. The end of a sequence is defined by the ‘wait’ - // parameter. If ‘immediate’ is passed, the argument function will be - // triggered at the beginning of the sequence as well. + // function is triggered. The end of a sequence is defined by the `wait` + // parameter. If `immediate` is passed, the argument function will be + // triggered at the beginning of the sequence instead of at the end. function debounce(func, wait, immediate) { var timeout, result;