Sha256: d35f51a297e39bddbc346853a5a415a23b95c4d67b072cc25c247889f78a6737
Contents?: true
Size: 575 Bytes
Versions: 7
Compression:
Stored size: 575 Bytes
Contents
sitemap.chapterPlaceholdersView = sitemap.groupView.define('chapter_placeholder', function(s) { this.update() .attr('transform', function(d) { return s.utils.translate(d.x - d.width / 2, d.y - d.height / 2); }) ; this.child('rect', function() { this.update() .attr('width', s.utils.fn.d('width')) .attr('height', s.utils.fn.d('height')) ; }); this.child('text', function() { this.enter() .attr('transform', function(d) { return s.utils.translate(d.width / 2, d.height / 2); }) .text('+'); }); });
Version data entries
7 entries across 7 versions & 1 rubygems