diff --git a/lib/node_modules/@stdlib/nlp/expand-contractions/lib/index.js b/lib/node_modules/@stdlib/nlp/expand-contractions/lib/index.js index fd5806490655..b55fc2f088b6 100644 --- a/lib/node_modules/@stdlib/nlp/expand-contractions/lib/index.js +++ b/lib/node_modules/@stdlib/nlp/expand-contractions/lib/index.js @@ -30,7 +30,7 @@ * var out = expandContractions( str ); * // returns 'I will not be able to get you all out of this one.' * -* str = 'It oughtn't to be my fault, because, you know, I didn't know'; +* str = 'It oughtn\'t to be my fault, because, you know, I didn\'t know'; * out = expandContractions( str ); * // returns 'It ought not to be my fault, because, you know, I did not know' */ diff --git a/lib/node_modules/@stdlib/repl/presentation/lib/commands/blank.js b/lib/node_modules/@stdlib/repl/presentation/lib/commands/blank.js index 04764d1b3132..64930cfb611c 100644 --- a/lib/node_modules/@stdlib/repl/presentation/lib/commands/blank.js +++ b/lib/node_modules/@stdlib/repl/presentation/lib/commands/blank.js @@ -46,25 +46,25 @@ function command( pres ) { var str = repeat( pres._opts.newline, pres.height+1 ); pres._repl._ostream.write( str ); pres._repl.once( 'drain', onDrain ); + } - /** - * Callback invoked upon a `drain` event. + /** + * Callback invoked upon a `drain` event. + * + * @private + */ + function onDrain() { + /* + * [ANSI escape sequences][1]: + * + * - `\u001b`: ESC, the escape character + * - `[1T`: scroll down one line + * - `[1G`: move the cursor to the beginning of the line * - * @private + * [1]: https://en.wikipedia.org/wiki/ANSI_escape_code */ - function onDrain() { - /* - * [ANSI escape sequences][1]: - * - * - `\u001b`: ESC, the escape character - * - `[1T`: scroll down one line - * - `[1G`: move the cursor to the beginning of the line - * - * [1]: https://en.wikipedia.org/wiki/ANSI_escape_code - */ - var str = '\u001b[1T\u001b[1G'; - pres._repl._ostream.write( str ); - } + var str = '\u001b[1T\u001b[1G'; + pres._repl._ostream.write( str ); } }