(ctor, properties)
| 12 | } |
| 13 | d3 = {version: "2.8.1"}; // semver |
| 14 | function d3_class(ctor, properties) { |
| 15 | try { |
| 16 | for (var key in properties) { |
| 17 | Object.defineProperty(ctor.prototype, key, { |
| 18 | value: properties[key], |
| 19 | enumerable: false |
| 20 | }); |
| 21 | } |
| 22 | } catch (e) { |
| 23 | ctor.prototype = properties; |
| 24 | } |
| 25 | } |
| 26 | var d3_array = d3_arraySlice; // conversion for NodeLists |
| 27 | |
| 28 | function d3_arrayCopy(pseudoarray) { |