- if not already installed, install node.
- to check if node is installed type "node" into your command line.
- if you get the following message, node is not installed:
bash: node: command not found
- open your command line for your computer and type:
$(document).ready(function() { | |
// drawChart('/charts/last_year/run', 'Run', 'Miles') | |
// drawChart('/charts/last_year/bike', 'Bike','Miles') | |
// drawChart('/charts/last_year/swim', 'Swim','Meters') | |
$("#select_charts_form").change(getCharts) | |
}) | |
var getCharts = function(e) { | |
// e.preventDefault() |
bash: node: command not found