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

Function pointish

docs/tests/v2/es6/js/sanddance.js:105215–105226  ·  view source on GitHub ↗
(scale)

Source from the content-addressed store, hash-verified

105213}
105214
105215function pointish(scale) {
105216 var copy = scale.copy;
105217 scale.padding = scale.paddingOuter;
105218 delete scale.paddingInner;
105219 delete scale.paddingOuter;
105220
105221 scale.copy = function () {
105222 return pointish(copy());
105223 };
105224
105225 return scale;
105226}
105227
105228function point() {
105229 return pointish(band.apply(null, arguments).paddingInner(1));

Callers 1

pointFunction · 0.70

Calls 1

copyFunction · 0.70

Tested by

no test coverage detected