Created
June 17, 2011 21:56
-
-
Save jmarnold/1032449 to your computer and use it in GitHub Desktop.
Example bootstrapping
This file contains hidden or 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
jBus.routing.initialize(function() { | |
this.connectTo('ws://jmarnold-logist:8181'); | |
this.on('TimestampCaseCommand', function(msg) { | |
$('#Case1').find('.checkpoint-' + msg.Checkpoint).html(msg.Value); | |
}); | |
this.on('PulseCommand', function(msg) { | |
$('#Pulse').html(msg.Message); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment