Skip to content

Commit

Permalink
Revise demo to support old browsers like IE
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Oct 24, 2018
1 parent 1c092da commit be1bf7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo-snap.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@

layout: {
name: 'concentric',
concentric: n => n.id() === 'j' ? 200 : 0,
levelWidth: nodes => 100,
concentric: function(n){ return n.id() === 'j' ? 200 : 0; },
levelWidth: function(nodes){ return 100; },
minNodeSpacing: 100
},

Expand Down

0 comments on commit be1bf7e

Please sign in to comment.