Skip to content

Commit

Permalink
update plugin.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhijumacc committed Jun 9, 2014
1 parent 98160ff commit ce0df09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.bcsphere.bluetooth"
id="org"
version="0.4.0">

<name>Bluetooth</name>
Expand Down
6 changes: 1 addition & 5 deletions www/org.bcsphere/bc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
limitations under the License.
*/

navigator.bluetooth = cordova.require("org.bcsphere.bluetooth.bluetoothapi");
cordova.define("org.bcsphere.bcjs", function(require, exports, module) {

var root = this;
/**
* BC namespace includes all kinds of magic things, all the classes is registered on it, enjoy it :).
Expand Down Expand Up @@ -65,7 +62,7 @@
*/

var _ = root._;
if (!_ && (typeof require !== 'undefined')) _ = require('org.underscorejs.underscore');
if (!_ && (typeof require !== 'undefined')) _ = require('org.bcsphere.bluetooth.underscorejs.underscore');

var testFunc = function(message){
if(DEBUG){
Expand Down Expand Up @@ -2115,7 +2112,6 @@

module.exports = BC;

});



0 comments on commit ce0df09

Please sign in to comment.