Lines Matching refs:patches
304 var patches = [this.ui.diffPages((diffShadow != null) ?
306 var ignored = this.ignorePatches(patches);
311 var patched = this.ui.patchPages(shadow, patches[0]);
322 'patches', patches,
333 this.checksumError(error, patches,
349 this.patch(patches,
464 DrawioFile.prototype.checksumError = function(error, patches, details, etag, functionName) argument
485 if (patches != null)
487 for (var i = 0; i < patches.length; i++)
489 this.ui.anonymizePatch(patches[i]);
496 JSON.stringify(patches, null, 2));
684 DrawioFile.prototype.ignorePatches = function(patches) argument
688 for (var i = 0; i < patches.length && ignore; i++)
690 ignore = ignore && Object.keys(patches[i]).length == 0;
699 DrawioFile.prototype.patch = function(patches, resolver, undoable) argument
736 for (var i = 0; i < patches.length; i++)
739 patches[i], true, resolver, this.isModified());
796 this.ui.editor.fireEvent(new mxEventObject('pagesPatched', 'patches', patches));