Skip to content

Commit 471d99e

Browse files
committed
0.4.27
1 parent dc8339d commit 471d99e

File tree

7 files changed

+22
-11
lines changed

7 files changed

+22
-11
lines changed

dist/webduino-all.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,7 +2496,7 @@ Paho.MQTT = (function (global) {
24962496
})(window);
24972497

24982498
var webduino = webduino || {
2499-
version: '0.4.26'
2499+
version: '0.4.27'
25002500
};
25012501

25022502
if (typeof exports !== 'undefined') {
@@ -5591,13 +5591,13 @@ chrome.bluetoothSocket = chrome.bluetoothSocket || (function (_api) {
55915591
scope.board.Smart = Smart;
55925592
}));
55935593

5594-
+(function(factory) {
5594+
+(function (factory) {
55955595
if (typeof exports === 'undefined') {
55965596
factory(webduino || {});
55975597
} else {
55985598
module.exports = factory;
55995599
}
5600-
}(function(scope) {
5600+
}(function (scope) {
56015601
'use strict';
56025602

56035603
var util = scope.util,
@@ -5647,6 +5647,17 @@ chrome.bluetoothSocket = chrome.bluetoothSocket || (function (_api) {
56475647

56485648
Bit.DEFAULT_SERVER = 'wss://ws.webduino.io:443';
56495649

5650+
proto.startup = function () {
5651+
this._isReady = true;
5652+
this.emit(BoardEvent.READY, this);
5653+
setTimeout(function() {
5654+
if (this._options.transport === 'serial') {
5655+
// wait for physical board ready to receive data from serialPort
5656+
this.send([0xf0, 0x0e, 0x0c, 0xf7]);
5657+
}
5658+
}.bind(this), 500);
5659+
};
5660+
56505661

56515662
scope.board.Bit = Bit;
56525663

dist/webduino-all.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/webduino-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2496,7 +2496,7 @@ Paho.MQTT = (function (global) {
24962496
})(window);
24972497

24982498
var webduino = webduino || {
2499-
version: '0.4.26'
2499+
version: '0.4.27'
25002500
};
25012501

25022502
if (typeof exports !== 'undefined') {

dist/webduino-base.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webduino-js",
3-
"version": "0.4.26",
3+
"version": "0.4.27",
44
"main": "index.js",
55
"description": "The Webduino Javascript Core, for Browser and Node.js",
66
"repository": "https://github.com/webduinoio/webduino-js.git",

src/webduino.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var webduino = webduino || {
2-
version: '0.4.26'
2+
version: '0.4.27'
33
};
44

55
if (typeof exports !== 'undefined') {

0 commit comments

Comments
 (0)