var ads = require("https://gist.githubusercontent.com/gfwilliams/da8f09f91c8d0011cbae/raw/51dcef9df30bafa7282fb0bea17cda1d637e488f/ADS1X15.js").connect(...)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Try:
Looks like there was a bit of a bug in the code.