all files / ble-bean/ index.js

100% Statements 15/15
100% Branches 0/0
100% Functions 0/0
100% Lines 15/15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24                 
/*jslint node: true */
"use strict";
 
var NobleDevice = require('noble-device');
 
var Bean = require('./lib/Bean');
 
var ScratchOne = require('./lib/ScratchOne');
var ScratchTwo = require('./lib/ScratchTwo');
var ScratchThree = require('./lib/ScratchThree');
var ScratchFour = require('./lib/ScratchFour');
var ScratchFive = require('./lib/ScratchFive');
 
 
NobleDevice.Util.mixin(Bean, NobleDevice.BatteryService);
NobleDevice.Util.mixin(Bean, NobleDevice.DeviceInformationService);
 
NobleDevice.Util.mixin(Bean, ScratchOne);
NobleDevice.Util.mixin(Bean, ScratchTwo);
NobleDevice.Util.mixin(Bean, ScratchThree);
NobleDevice.Util.mixin(Bean, ScratchFour);
NobleDevice.Util.mixin(Bean, ScratchFive);
 
module.exports = Bean;