Skip to content

Commit

Permalink
Add since tags in doc strs for undo#lock/unlock.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Feb 28, 2013
1 parent b0ea460 commit 0b97fc7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/undo/plugin.js
Expand Up @@ -139,6 +139,7 @@
*
* See {@link CKEDITOR.plugins.undo.UndoManager#lock} for more details.
*
* @since 4.0
* @event lockSnapshot
* @member CKEDITOR.editor
* @param {CKEDITOR.editor} editor This editor instance.
Expand All @@ -148,6 +149,7 @@
/**
* Unlock manager and update latest snapshot.
*
* @since 4.0
* @event unlockSnapshot
* @member CKEDITOR.editor
* @param {CKEDITOR.editor} editor This editor instance.
Expand Down Expand Up @@ -562,6 +564,8 @@
* after the {@link #unlock} method is called.
*
* It's mainly used for ensure any DOM operations that shouldn't be recorded (e.g. auto paragraphing).
*
* @since 4.0
*/
lock: function() {
if ( !this.locked ) {
Expand All @@ -580,6 +584,8 @@
* Unlock the snapshot stack and check to amend the last snapshot.
*
* See {@link #lock} for more details.
*
* @since 4.0
*/
unlock: function() {
if ( this.locked ) {
Expand Down

0 comments on commit 0b97fc7

Please sign in to comment.