Items 1-12 out of 100000 displayed
Assuming you're running the node server on a linux machine. You need to export all your environment variables manually or via a script like so: export PORT=3000;
, then accesses them...
$(window).bind('scroll', function() {
var dir = detectDirection();
console.log(dir);
});
You were calling detectDirection()
twice during each...
Use a double dash before arguments:
npm run test -- arg1 arg2 -f --flag2
ERB will output a plain string. JS needs inverted commas around a string for it to be recognized. You have missed them on your console.log()
statement.
Change it to:
...You just need to provide the data as an array of two element (key / value) arrays. Specify an innerSize
to get the donut style.
So your parameters will contain something...