mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-12 03:58:12 +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);
|
define(['es6-promise', 'bleat'], factory);
|
||||||
} else if (typeof exports === 'object') {
|
} else if (typeof exports === 'object') {
|
||||||
// Node. Does not work with strict CommonJS
|
// Node. Does not work with strict CommonJS
|
||||||
module.exports = factory(Promise, require('bleat'));
|
module.exports = factory(Promise, require('bleat').webbluetooth);
|
||||||
} else {
|
} else {
|
||||||
// Browser globals with support for web workers (root is window)
|
// Browser globals with support for web workers (root is window)
|
||||||
root.dfu = factory(Promise, root.navigator.bluetooth);
|
root.dfu = factory(Promise, root.navigator.bluetooth);
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"web-bluetooth"
|
"web-bluetooth"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bleat": "git://github.com/thegecko/bleat.git#spec-updates"
|
"bleat": "git://github.com/thegecko/bleat.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp": "^3.9.1",
|
"gulp": "^3.9.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user