Merge pull request #2144 from girving/doc-fix

Fix documentation typo: "includeText" should be "insertText"
This commit is contained in:
Harutyun Amirjanyan 2014-09-11 01:58:48 +04:00
commit 4ff4d1ee43

View file

@ -547,7 +547,7 @@ var Document = function(text) {
};
/**
* Applies all the changes previously accumulated. These can be either `'includeText'`, `'insertLines'`, `'removeText'`, and `'removeLines'`.
* Applies all the changes previously accumulated. These can be either `'insertText'`, `'insertLines'`, `'removeText'`, and `'removeLines'`.
**/
this.applyDeltas = function(deltas) {
for (var i=0; i<deltas.length; i++) {
@ -566,7 +566,7 @@ var Document = function(text) {
};
/**
* Reverts any changes previously applied. These can be either `'includeText'`, `'insertLines'`, `'removeText'`, and `'removeLines'`.
* Reverts any changes previously applied. These can be either `'insertText'`, `'insertLines'`, `'removeText'`, and `'removeLines'`.
**/
this.revertDeltas = function(deltas) {
for (var i=deltas.length-1; i>=0; i--) {