Some annotations

This commit is contained in:
copy 2015-04-12 16:07:52 +02:00
parent ab2cb688b4
commit bef8fa3a68
5 changed files with 14 additions and 1 deletions

View file

@ -2,6 +2,8 @@
/** /**
* @constructor * @constructor
*
* @param {Bus.Connector} bus
*/ */
function KeyboardAdapter(bus) function KeyboardAdapter(bus)
{ {

View file

@ -1,6 +1,10 @@
"use strict"; "use strict";
/** @constructor */ /**
* @constructor
*
* @param {Bus.Connector} bus
*/
function MouseAdapter(bus) function MouseAdapter(bus)
{ {
/** @const */ /** @const */

View file

@ -7,6 +7,9 @@
* emulated ethernet card <--> this <--> websocket proxy <--> network * emulated ethernet card <--> this <--> websocket proxy <--> network
* *
* @constructor * @constructor
*
* @param {string} url
* @param {Bus.Connector} bus
*/ */
function NetworkAdapter(url, bus) function NetworkAdapter(url, bus)
{ {

View file

@ -11,6 +11,8 @@ if(typeof window !== "undefined" && !window.requestAnimationFrame)
/** /**
* Adapter to use visual screen in browsers (in constrast to node) * Adapter to use visual screen in browsers (in constrast to node)
* @constructor * @constructor
*
* @param {Bus.Connector} bus
*/ */
function ScreenAdapter(screen_container, bus) function ScreenAdapter(screen_container, bus)
{ {

View file

@ -2,6 +2,8 @@
/** /**
* @constructor * @constructor
*
* @param {Bus.Connector} bus
*/ */
function SerialAdapter(element, bus) function SerialAdapter(element, bus)
{ {