MCPcopy
hub / github.com/less/less.js / addVisitor

Method addVisitor

packages/less/lib/less/plugin-manager.js:57–59  ·  view source on GitHub ↗

* Adds a visitor. The visitor object has options on itself to determine * when it should run. * @param visitor

(visitor)

Source from the content-addressed store, hash-verified

55 * @param visitor
56 */
57 addVisitor(visitor) {
58 this.visitors.push(visitor);
59 }
60
61 /**
62 * Adds a pre processor object

Callers 2

index.cjsFile · 0.80
installFunction · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected