Skip to content

Commit

Permalink
Merge pull request #440 from Kitware/link-to-docs
Browse files Browse the repository at this point in the history
chore(resonantlab): Point to candela docs from vis selector
  • Loading branch information
jeffbaumes committed Oct 11, 2016
2 parents 0f5068c + cea8d91 commit 21a7f7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/resonantlab/views/overlays/VisualizationLibrary/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ let VisualizationLibrary = Backbone.View.extend({
libraryButtons.select('span')
.text(d => d.name);

libraryButtonsEnter.append('a');
libraryButtons.select('a')
.attr('href', d => 'https://candela.readthedocs.io/en/latest/components/' + d.name.toLowerCase() + '.html')
.attr('target', '_blank')
.text('info')
.on('click', () => d3.event.stopPropagation());

d3.select('div.largeDialog').selectAll('.circleButton')
.on('click', d => {
window.mainPage.getProject().then(project => {
Expand Down

0 comments on commit 21a7f7d

Please sign in to comment.