MCPcopy Create free account
hub / github.com/microsoft/SandDance / _clearDefs

Function _clearDefs

docs/app/js/sanddance-app.js:124329–124333  ·  view source on GitHub ↗

* Clear defs caches.

()

Source from the content-addressed store, hash-verified

124327 /**
124328 * Clear defs caches.
124329 */ _clearDefs () {
124330 const def3 = this._defs;
124331 def3.gradient = {};
124332 def3.clipping = {};
124333 }
124334}); // mark ancestor chain with a dirty id
124335function dirtyParents(item, id) {
124336 for(; item && item.dirty !== id; item = item.mark.group){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected