MCPcopy
hub / github.com/basecamp/trix / didSync

Method didSync

action_text-trix/app/assets/javascripts/trix.js:3901–3904  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3899 // Private
3900
3901 didSync() {
3902 this.elementStore.reset(findStoredElements(this.element));
3903 return defer(() => this.garbageCollectCachedViews());
3904 }
3905 createDocumentFragmentForSync() {
3906 const fragment = document.createDocumentFragment();
3907 Array.from(this.shadowElement.childNodes).forEach(node => {

Callers 1

syncMethod · 0.95

Calls 4

findStoredElementsFunction · 0.70
deferFunction · 0.70
resetMethod · 0.45

Tested by

no test coverage detected