mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-13 20:48:15 +08:00
Switched to master branch of bleat
This commit is contained in:
2
dist/dfu.js
vendored
2
dist/dfu.js
vendored
@@ -36,7 +36,7 @@
|
||||
define(['es6-promise', 'bleat'], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
// Node. Does not work with strict CommonJS
|
||||
module.exports = factory(Promise, require('bleat'));
|
||||
module.exports = factory(Promise, require('bleat').webbluetooth);
|
||||
} else {
|
||||
// Browser globals with support for web workers (root is window)
|
||||
root.dfu = factory(Promise, root.navigator.bluetooth);
|
||||
|
||||
Reference in New Issue
Block a user