Skip to content

Commit fe5e880

Browse files
landritostephenplusplus
authored andcommitted
Language: Update incorrect Document docs. (#2104)
1 parent d153530 commit fe5e880

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/language/src/document.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ var is = require('is');
3939
* @param {object|string|module:storage/file} config - Configuration object, the
4040
* inline content of the document, or a Storage File object.
4141
* @param {string|module:storage/file} options.content - If using `config` as an
42-
* object to specify the encoding and/or language of the document, use this
43-
* property to pass the inline content of the document or a Storage File
44-
* object.
42+
* object to specify the language of the document, use this property to pass
43+
* the inline content of the document or a Storage File object.
4544
* @param {string} options.language - The language of the text.
4645
* @return {module:language/document}
4746
*

0 commit comments

Comments
 (0)