1.3.0 • Published 9 years ago
afom-labs-wall-client v1.3.0
AFOM Labs - Wall Client
Connect with the AFOM Labs Wall Server to be controled as a device on the devices wall. It supports require.js, browserify and plain js.
Getting Started
With require.js
Define socket.io-client in require.js and require afom-labs-wall-client
(will be described soon)
With browserify
Make sure socket.io-client
and afom-labs-wall-client
are added to your project
npm install --save socket.io-client
npm install --save afom-labs-wall-client
In your file you only have to add the following code
require('afom-labs-wall-client');
With reguar js
Make sure socket.io-client
is included before afom-labs-wall-client.js
<script>Other Code</script>
<script src="https://cdn.socket.io/socket.io-1.3.5.js"></script>
<script src="http://wall.afriendofmine.nl/js/afom-labs-wall-client.js"></script>
<script>Other Code</script>