HEALTH : 'HEALTH'
};
-var BluetoothProfileHandler = function(data) {
- var profileType = data.profileType;
- function profileTypeGetter() {
- privUtils_.printDeprecationWarningFor('profileType');
- return profileType;
- }
+var BluetoothProfileHandler = function (data) {
if (data) {
+ var profileType = data.profileType;
+ function profileTypeGetter() {
+ privUtils_.printDeprecationWarningFor('profileType');
+ return profileType;
+ }
Object.defineProperties(this, {
- profileType : {enumerable: true, set : function() {}, get : profileTypeGetter }
+ profileType: { enumerable: true, set: function () { }, get: profileTypeGetter }
});
}
};