Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions typo/typo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -978,4 +978,4 @@ Typo.prototype = {
// Support for use as a node.js module.
if (typeof module !== 'undefined') {
module.exports = Typo;
}
}