MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / proxy

Function proxy

code/styling/public/app.js:23504–23531  ·  view source on GitHub ↗

* Proxy * * @param {number} context * @param {string} content * @param {Array } selectors * @param {Array } parents * @param {number} line * @param {number} column * @param {number} length * @param {number} id * @param {number} depth * @param {number} at * @retu

(context, content, selectors, parents, line, column, length, id, depth, at)

Source from the content-addressed store, hash-verified

23502 * @return {(string|void|*)}
23503 */
23504 function proxy (context, content, selectors, parents, line, column, length, id, depth, at) {
23505 for (var i = 0, out = content, next; i < plugged; ++i) {
23506 switch (next = plugins[i].call(stylis, context, out, selectors, parents, line, column, length, id, depth, at)) {
23507 case void 0:
23508 case false:
23509 case true:
23510 case null: {
23511 break
23512 }
23513 default: {
23514 out = next
23515 }
23516 }
23517 }
23518
23519 switch (out) {
23520 case void 0:
23521 case false:
23522 case true:
23523 case null:
23524 case content: {
23525 break
23526 }
23527 default: {
23528 return out
23529 }
23530 }
23531 }
23532
23533 /**
23534 * Minify

Callers 2

compileFunction · 0.70
stylisFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected