Skip to content

Commit 016406a

Browse files
author
Thomas Scholtes
committed
Clarify documentation
1 parent c345cb1 commit 016406a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client/doc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Doc.prototype.destroy = function(callback) {
168168
// this function exists to update the document based on any added & removed API
169169
// methods.
170170
//
171-
// @param newType OT type provided by the ottypes library
171+
// @param newType OT type provided by the ottypes library or its name or uri
172172
Doc.prototype._setType = function(newType) {
173173
if (typeof newType === 'string') {
174174
if (!types[newType]) throw new Error("Missing type " + newType);

0 commit comments

Comments
 (0)