Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
run jsbeautifier
bump version to 0.4.0
rebuild docs
  • Loading branch information
soundanalogous committed Jan 19, 2016
1 parent 8142eae commit f22f9c5
Show file tree
Hide file tree
Showing 110 changed files with 233 additions and 216 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
@@ -1,3 +1,13 @@
2016.01.18 Version 0.4.0
* Now using ConfigurableFirmata instead of Firmata.
* Updated breakout-server and moved to its own repo:
https://github.com/soundanalogous/breakout-server
* Add support for Firmata Serial feature (see src/core/Serial.js)
see examples in Breakout/examples/serial/
* Add INPUT_PULLUP pin mode
* Add support for SET_DIGITAL_PIN_MODE
* Tons of code formatting updates

2014.08.13 Version 0.3.2
* Update to latest version of AdvancedFirmata

Expand Down
19 changes: 10 additions & 9 deletions dist/Breakout-base.js
@@ -1,12 +1,12 @@
/*!
* Breakout v0.3.2 - 2016-01-18
* Breakout v0.4.0 - 2016-01-18
* Copyright (c) 2011-2016 Jeff Hoefs <soundanalogous@gmail.com>
* Released under the MIT license. See LICENSE file for details.
* http://breakoutjs.com
*/
/**
* @version 0.3.2
* @version 0.4.0
*
* <p>Namespace for Breakout objects.</p>
*
Expand All @@ -19,7 +19,7 @@ var BO = BO || {};
// allow either namespace BO or BREAKOUT
var BREAKOUT = BREAKOUT || BO;

BREAKOUT.VERSION = '0.3.2';
BREAKOUT.VERSION = '0.4.0';

/**
* The BO.enableDebugging flag can be set to true in an application
Expand Down Expand Up @@ -897,8 +897,9 @@ BO.WSocketWrapper = (function() {

// if io (socket.io) is defined, assume that the node server is being used
if (typeof io !== "undefined") {
self._ioManager = io.Manager("http://" + self._host + ":" + self._port,
{reconnection: false});
self._ioManager = io.Manager("http://" + self._host + ":" + self._port, {
reconnection: false
});

self._socket = self._ioManager.socket('/');

Expand All @@ -924,7 +925,7 @@ BO.WSocketWrapper = (function() {
});
});

self._socket.on('disconnect', function () {
self._socket.on('disconnect', function() {
self.dispatchEvent(new WSocketEvent(WSocketEvent.CLOSE));
});
});
Expand Down Expand Up @@ -2779,7 +2780,7 @@ BO.Serial = (function() {
* <li><strong>board</strong> {IOBoard} A reference to the IOBoard instance.</li>
* <li><strong>port</strong> {Number} The serial port to use (HW_SERIAL1, HW_SERIAL2, HW_SERIAL3, SW_SERIAL0,
* SW_SERIAL1, SW_SERIAL2, SW_SERIAL3)</li>
* <li></strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
* <li><strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
* <li><strong>rxPin</strong> {Number} [SoftwareSerial only] The RX pin of the SoftwareSerial instance</li>
* <li><strong>txPin</strong> {Number} [SoftwareSerial only] The TX pin of the SoftwareSerial instance</li>
* </ul>
Expand Down Expand Up @@ -2812,8 +2813,8 @@ BO.Serial = (function() {
*/
Serial = function(opts) {
if (typeof opts === "undefined" ||
typeof opts.board === "undefined" ||
typeof opts.port === "undefined") {
typeof opts.board === "undefined" ||
typeof opts.port === "undefined") {
throw new Error("Serial options board and port must be defined.");
}

Expand Down
4 changes: 2 additions & 2 deletions dist/Breakout-base.min.js

Large diffs are not rendered by default.

19 changes: 10 additions & 9 deletions dist/Breakout-core.js
@@ -1,12 +1,12 @@
/*!
* Breakout v0.3.2 - 2016-01-18
* Breakout v0.4.0 - 2016-01-18
* Copyright (c) 2011-2016 Jeff Hoefs <soundanalogous@gmail.com>
* Released under the MIT license. See LICENSE file for details.
* http://breakoutjs.com
*/
/**
* @version 0.3.2
* @version 0.4.0
*
* <p>Namespace for Breakout objects.</p>
*
Expand All @@ -19,7 +19,7 @@ var BO = BO || {};
// allow either namespace BO or BREAKOUT
var BREAKOUT = BREAKOUT || BO;

BREAKOUT.VERSION = '0.3.2';
BREAKOUT.VERSION = '0.4.0';

/**
* The BO.enableDebugging flag can be set to true in an application
Expand Down Expand Up @@ -545,8 +545,9 @@ BO.WSocketWrapper = (function() {

// if io (socket.io) is defined, assume that the node server is being used
if (typeof io !== "undefined") {
self._ioManager = io.Manager("http://" + self._host + ":" + self._port,
{reconnection: false});
self._ioManager = io.Manager("http://" + self._host + ":" + self._port, {
reconnection: false
});

self._socket = self._ioManager.socket('/');

Expand All @@ -572,7 +573,7 @@ BO.WSocketWrapper = (function() {
});
});

self._socket.on('disconnect', function () {
self._socket.on('disconnect', function() {
self.dispatchEvent(new WSocketEvent(WSocketEvent.CLOSE));
});
});
Expand Down Expand Up @@ -1710,7 +1711,7 @@ BO.Serial = (function() {
* <li><strong>board</strong> {IOBoard} A reference to the IOBoard instance.</li>
* <li><strong>port</strong> {Number} The serial port to use (HW_SERIAL1, HW_SERIAL2, HW_SERIAL3, SW_SERIAL0,
* SW_SERIAL1, SW_SERIAL2, SW_SERIAL3)</li>
* <li></strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
* <li><strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
* <li><strong>rxPin</strong> {Number} [SoftwareSerial only] The RX pin of the SoftwareSerial instance</li>
* <li><strong>txPin</strong> {Number} [SoftwareSerial only] The TX pin of the SoftwareSerial instance</li>
* </ul>
Expand Down Expand Up @@ -1743,8 +1744,8 @@ BO.Serial = (function() {
*/
Serial = function(opts) {
if (typeof opts === "undefined" ||
typeof opts.board === "undefined" ||
typeof opts.port === "undefined") {
typeof opts.board === "undefined" ||
typeof opts.port === "undefined") {
throw new Error("Serial options board and port must be defined.");
}

Expand Down
4 changes: 2 additions & 2 deletions dist/Breakout-core.min.js

Large diffs are not rendered by default.

19 changes: 10 additions & 9 deletions dist/Breakout.js
@@ -1,12 +1,12 @@
/*!
* Breakout v0.3.2 - 2016-01-18
* Breakout v0.4.0 - 2016-01-18
* Copyright (c) 2011-2016 Jeff Hoefs <soundanalogous@gmail.com>
* Released under the MIT license. See LICENSE file for details.
* http://breakoutjs.com
*/
/**
* @version 0.3.2
* @version 0.4.0
*
* <p>Namespace for Breakout objects.</p>
*
Expand All @@ -19,7 +19,7 @@ var BO = BO || {};
// allow either namespace BO or BREAKOUT
var BREAKOUT = BREAKOUT || BO;

BREAKOUT.VERSION = '0.3.2';
BREAKOUT.VERSION = '0.4.0';

/**
* The BO.enableDebugging flag can be set to true in an application
Expand Down Expand Up @@ -897,8 +897,9 @@ BO.WSocketWrapper = (function() {

// if io (socket.io) is defined, assume that the node server is being used
if (typeof io !== "undefined") {
self._ioManager = io.Manager("http://" + self._host + ":" + self._port,
{reconnection: false});
self._ioManager = io.Manager("http://" + self._host + ":" + self._port, {
reconnection: false
});

self._socket = self._ioManager.socket('/');

Expand All @@ -924,7 +925,7 @@ BO.WSocketWrapper = (function() {
});
});

self._socket.on('disconnect', function () {
self._socket.on('disconnect', function() {
self.dispatchEvent(new WSocketEvent(WSocketEvent.CLOSE));
});
});
Expand Down Expand Up @@ -2779,7 +2780,7 @@ BO.Serial = (function() {
* <li><strong>board</strong> {IOBoard} A reference to the IOBoard instance.</li>
* <li><strong>port</strong> {Number} The serial port to use (HW_SERIAL1, HW_SERIAL2, HW_SERIAL3, SW_SERIAL0,
* SW_SERIAL1, SW_SERIAL2, SW_SERIAL3)</li>
* <li></strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
* <li><strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
* <li><strong>rxPin</strong> {Number} [SoftwareSerial only] The RX pin of the SoftwareSerial instance</li>
* <li><strong>txPin</strong> {Number} [SoftwareSerial only] The TX pin of the SoftwareSerial instance</li>
* </ul>
Expand Down Expand Up @@ -2812,8 +2813,8 @@ BO.Serial = (function() {
*/
Serial = function(opts) {
if (typeof opts === "undefined" ||
typeof opts.board === "undefined" ||
typeof opts.port === "undefined") {
typeof opts.board === "undefined" ||
typeof opts.port === "undefined") {
throw new Error("Serial options board and port must be defined.");
}

Expand Down
4 changes: 2 additions & 2 deletions dist/Breakout.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/classes/BO.I2CBase.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.IOBoard.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.IOBoardEvent.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.PhysicalInputBase.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.Pin.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.PinEvent.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/BO.Serial.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down Expand Up @@ -284,7 +284,7 @@ <h4>Parameters:</h4>
<li><strong>board</strong> {IOBoard} A reference to the IOBoard instance.</li>
<li><strong>port</strong> {Number} The serial port to use (HW_SERIAL1, HW_SERIAL2, HW_SERIAL3, SW_SERIAL0,
SW_SERIAL1, SW_SERIAL2, SW_SERIAL3)</li>
<li></strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
<li><strong>baud</strong> {Number} The baud rate of the serial port. Default = 57600.</li>
<li><strong>rxPin</strong> {Number} [SoftwareSerial only] The RX pin of the SoftwareSerial instance</li>
<li><strong>txPin</strong> {Number} [SoftwareSerial only] The TX pin of the SoftwareSerial instance</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.SerialEvent.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.WSocketEvent.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
14 changes: 7 additions & 7 deletions docs/classes/BO.WSocketWrapper.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down Expand Up @@ -1011,7 +1011,7 @@ <h3 class="name"><code>send</code></h3>



<a href="../files/src_core_WSocketWrapper.js.html#l145"><code>src&#x2F;core&#x2F;WSocketWrapper.js:145</code></a>
<a href="../files/src_core_WSocketWrapper.js.html#l146"><code>src&#x2F;core&#x2F;WSocketWrapper.js:146</code></a>

</p>

Expand Down Expand Up @@ -1100,7 +1100,7 @@ <h3 class="name"><code>sendString</code></h3>



<a href="../files/src_core_WSocketWrapper.js.html#l159"><code>src&#x2F;core&#x2F;WSocketWrapper.js:159</code></a>
<a href="../files/src_core_WSocketWrapper.js.html#l160"><code>src&#x2F;core&#x2F;WSocketWrapper.js:160</code></a>

</p>

Expand Down Expand Up @@ -1176,7 +1176,7 @@ <h3 class="name"><code>readyState</code></h3>



<a href="../files/src_core_WSocketWrapper.js.html#l170"><code>src&#x2F;core&#x2F;WSocketWrapper.js:170</code></a>
<a href="../files/src_core_WSocketWrapper.js.html#l171"><code>src&#x2F;core&#x2F;WSocketWrapper.js:171</code></a>

</p>

Expand Down Expand Up @@ -1232,7 +1232,7 @@ <h3 class="name"><code>webSocketClosed</code></h3>



<a href="../files/src_core_WSocketWrapper.js.html#l201"><code>src&#x2F;core&#x2F;WSocketWrapper.js:201</code></a>
<a href="../files/src_core_WSocketWrapper.js.html#l202"><code>src&#x2F;core&#x2F;WSocketWrapper.js:202</code></a>

</p>

Expand Down Expand Up @@ -1298,7 +1298,7 @@ <h3 class="name"><code>webSocketConnected</code></h3>



<a href="../files/src_core_WSocketWrapper.js.html#l185"><code>src&#x2F;core&#x2F;WSocketWrapper.js:185</code></a>
<a href="../files/src_core_WSocketWrapper.js.html#l186"><code>src&#x2F;core&#x2F;WSocketWrapper.js:186</code></a>

</p>

Expand Down Expand Up @@ -1365,7 +1365,7 @@ <h3 class="name"><code>webSocketMessage</code></h3>



<a href="../files/src_core_WSocketWrapper.js.html#l193"><code>src&#x2F;core&#x2F;WSocketWrapper.js:193</code></a>
<a href="../files/src_core_WSocketWrapper.js.html#l194"><code>src&#x2F;core&#x2F;WSocketWrapper.js:194</code></a>

</p>

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.custom.ID12RFIDReader.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.custom.RFIDEvent.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.filters.Convolution.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/BO.filters.FilterBase.html
Expand Up @@ -27,7 +27,7 @@
<div class="yui3-u-1-4">
<div id="docs-sidebar" class="sidebar apidocs">
<div id="api-list">
<h2 class="off-left">v0.3.2 APIs</h2>
<h2 class="off-left">v0.4.0 APIs</h2>
<div id="api-tabview" class="tabview">
<ul class="tabs">
<li><a href="#api-classes">Classes</a></li>
Expand Down

0 comments on commit f22f9c5

Please sign in to comment.