From 5f84f1cafcc008605b3a6856b163cd967ce1b646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Vr=C3=A1na?= Date: Fri, 17 Mar 2017 10:31:24 +0100 Subject: [PATCH] Fix default value in a comment --- typo/typo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typo/typo.js b/typo/typo.js index d66353c..5324e7f 100644 --- a/typo/typo.js +++ b/typo/typo.js @@ -217,7 +217,7 @@ Typo.prototype = { * Read the contents of a file. * * @param {String} path The path (relative) to the file. - * @param {String} [charset="ISO8859-1"] The expected charset of the file + * @param {String} [charset="utf8"] The expected charset of the file * @param {Boolean} async If true, the file will be read asynchronously. For node.js this does nothing, all * files are read synchronously. * @returns {String} The file data if async is false, otherwise a promise object. If running node.js, the data is @@ -978,4 +978,4 @@ Typo.prototype = { // Support for use as a node.js module. if (typeof module !== 'undefined') { module.exports = Typo; -} \ No newline at end of file +}