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

Function orderDomain

docs/app/js/sanddance-app.js:8811–8817  ·  view source on GitHub ↗
(domain, dim)

Source from the content-addressed store, hash-verified

8809 });
8810}
8811function orderDomain(domain, dim) {
8812 if (domain.sourcePosition[dim] > domain.targetPosition[dim]) {
8813 const temp = domain.targetPosition;
8814 domain.targetPosition = domain.sourcePosition;
8815 domain.sourcePosition = temp;
8816 }
8817}
8818
8819},{"./marks/legend":"hAC8Q","./marks/rect":"dhCm6","./marks/rule":"lHE8q","./marks/line":"fwLcQ","./marks/text":"1OVU3","./marks/area":"dLPwd","./base":"9SeSX","./color":"3W8ci","./defaults":"lNLF5","./marks/interfaces":"cN5hG","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"hAC8Q":[function(require,module,exports) {
8820var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

sortAxisFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected