Created
October 29, 2011 09:20
recepteurs evenements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var signal=require('./signal.js'); | |
var sonde = new signal(); | |
// mise en place des listener et des fonctions de retour | |
sonde.on('ici',function(msg){ | |
console.log(msg)} ); | |
sonde.on('lemoment',function(msg){ | |
console.log(msg)} ); | |
// lancement des opérations | |
sonde.temporisateur(); | |
sonde.maint(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment