Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge 4fadd39 into e0de158
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed May 17, 2019
2 parents e0de158 + 4fadd39 commit 0850129
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/model/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -702,10 +702,11 @@ export default class Model {
* * {@link #change `change()`},
* * {@link #enqueueChange `enqueueChange()`}.
*
* @param {'transparent'|'default'} [type='default'] The type of the batch.
* @returns {module:engine/model/batch~Batch}
*/
createBatch() {
return new Batch();
createBatch( type ) {
return new Batch( type );
}

/**
Expand Down

0 comments on commit 0850129

Please sign in to comment.