Ok, it's fixed :) If you try out a build from http://www.espruino.com/binaries/travis/master/
Then something like this should work fine:
NRF.setAdvertising([ require("ble_ibeacon").get({ uuid : beaconUUID, // iBeacon uuid major : beaconMajor, // optional minor : beaconMinor, // optional rssi : -59 // optional RSSI at 1 meter distance in dBm }), { 0x1815 : [button.single, button.long], 0x180F : [metrics.battery], 0x1809 : [metrics.temperature], 0x181A : [metrics.light] }],{ interval : 375 });
@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.
Ok, it's fixed :) If you try out a build from http://www.espruino.com/binaries/travis/master/
Then something like this should work fine: