Skip to content

Commit 1a3aa27

Browse files
author
Travis CI
committed
Travis CI - [ci skip] - automatic dist folder
1 parent 9eb490c commit 1a3aa27

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

dist/kuzzle.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,11 +1932,6 @@ KuzzleDataCollection.prototype.updateDocument = function (documentId, content, o
19321932
* @constructor
19331933
*/
19341934
KuzzleDataCollection.prototype.documentFactory = function (id, content) {
1935-
if (!content && typeof id === 'object') {
1936-
content = id;
1937-
id = null;
1938-
}
1939-
19401935
return new KuzzleDocument(this, id, content);
19411936
};
19421937

0 commit comments

Comments
 (0)