mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
Added constructor to lines up better with the way the core PhoneGap code is written
This commit is contained in:
@@ -121,4 +121,9 @@ isBound : function(argument,successCallback, failureCallback) {
|
||||
return PhoneGap.exec(successCallback, failureCallback, 'BluetoothPlugin', 'isBound', [argument]);
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
PhoneGap.addConstructor(function() {
|
||||
PhoneGap.addPlugin('Bluetooth', new Bluetooth());
|
||||
});
|
||||
Reference in New Issue
Block a user