MCPcopy Create free account
hub / github.com/breck7/scroll / propertyFunction

Function propertyFunction

external/.d3.js:2183–2189  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

2181}
2182
2183function propertyFunction(name, value) {
2184 return function() {
2185 var v = value.apply(this, arguments);
2186 if (v == null) delete this[name];
2187 else this[name] = v;
2188 };
2189}
2190
2191function selection_property(name, value) {
2192 return arguments.length > 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected