{"size": 528, "ext": "js", "max_stars_repo_path": "tools/extensions/desktop-helper/content/data/lib/bluetooth.js", "max_stars_repo_name": "mschwart/gaia", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "tools/extensions/desktop-helper/content/data/lib/bluetooth.js", "max_issues_repo_name": "mschwart/gaia", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "tools/extensions/desktop-helper/content/data/lib/bluetooth.js", "max_forks_repo_name": "mschwart/gaia", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.0, "max_line_length": 56, "alphanum_fraction": 0.6553030303}
!function() {

  function MockBluetoothRequest() {

  }
  MockBluetoothRequest.prototype = {
  };

  FFOS_RUNTIME.makeNavigatorShim('mozBluetooth', {
    enabled: true,
    onadapteradded: function() {
      console.log('bluetooth onadapteradded');
    },
    getDefaultAdapter: function() {
      console.log('bluetooth getDefaultAdapter');
      var bluetoothRequest = new MockBluetoothRequest();
      return bluetoothRequest;
    },
    isConnected: function() {
      console.log('bluetooth isConnected');
    }
  });
}();
