I assume passing undefined for the function does the job...
That'll just add another handler...
You'll need Bangle.removeAllListeners('accel') : http://www.espruino.com/Reference#l_Object_removeAllListeners
Bangle.removeAllListeners('accel')
@Gordon started
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.
That'll just add another handler...
You'll need
Bangle.removeAllListeners('accel')
: http://www.espruino.com/Reference#l_Object_removeAllListeners