Skip to content

Commit

Permalink
Revert "Merge pull request rails#12990 from vipulnsward/remove_visual…
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca authored and fluxusfrequency committed Dec 4, 2013
1 parent 7c30f99 commit bee28ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def to_svg
svg.join.sub(/width="[^"]*"/, '').sub(/height="[^"]*"/, '')
end

def visualizer(paths)
def visualizer(paths, title = 'FSM')
viz_dir = File.join File.dirname(__FILE__), '..', 'visualizer'
fsm_js = File.read File.join(viz_dir, 'fsm.js')
fsm_css = File.read File.join(viz_dir, 'fsm.css')
Expand Down

0 comments on commit bee28ce

Please sign in to comment.