Skip to content

AFOM Labs - Wall Server - Supports require.js, browserify and plain js

Notifications You must be signed in to change notification settings

afriendofmine/afom-labs-wall-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

AFOM Labs - Wall Server - Supports require.js, browserify and plain js

Resources

Stars

Watchers

Forks

Packages

No packages published