[Edit] Update EditorCapability comments

This commit is contained in:
Alex M
2016-09-13 22:36:27 +03:00
parent 4382745012
commit d87ed1414e

View File

@ -28,8 +28,8 @@ define(
* A capability that implements an editing 'session' for a domain * A capability that implements an editing 'session' for a domain
* object. An editing session is initiated via a call to .edit(). * object. An editing session is initiated via a call to .edit().
* Once initiated, any persist operations will be queued pending a * Once initiated, any persist operations will be queued pending a
* subsequent call to [.save()](@link #save) or [.cancel()](@link * subsequent call to [.save()](@link #save) or [.finish()](@link
* #cancel). * #finish).
* @param transactionService * @param transactionService
* @param domainObject * @param domainObject
* @constructor * @constructor
@ -45,7 +45,7 @@ define(
/** /**
* Initiate an editing session. This will start a transaction during * Initiate an editing session. This will start a transaction during
* which any persist operations will be deferred until either save() * which any persist operations will be deferred until either save()
* or cancel() are called. * or finish() are called.
*/ */
EditorCapability.prototype.edit = function () { EditorCapability.prototype.edit = function () {
this.transactionService.startTransaction(); this.transactionService.startTransaction();