Commit dd501a7e authored by Constantin Jucovschi's avatar Constantin Jucovschi

updated to new version of stomp library. Removed Heartbeat functionality.

parent f39bd3d7
This diff is collapsed.
......@@ -17,12 +17,11 @@ require.config(
}
});
require(["sally_client", "theo", "frames", "repository"], function(SallyClient, Theo, Frames, Repository) {
require(["sally_client", "theo", "frames"], function(SallyClient, Theo, Frames) {
var theo = new Theo();
var frames = new Frames();
var repository = new Repository("gl.kwarc.info/test/test", "blah.txt");
frames.on("NewDocLevelService", function(msg) {
frames.executeDocLevelService(msg.id);
});
......@@ -33,7 +32,7 @@ require(["sally_client", "theo", "frames", "repository"], function(SallyClient,
client = new SallyClient({stompUrl: "ws://localhost:61614", stompUser : "webclient", stompPassword : "webclient"});
client.register([theo, frames, repository], "env"+Math.floor(Math.random()*100000), function() {
client.register([theo, frames], "env"+Math.floor(Math.random()*100000), function() {
});
......@@ -44,4 +43,4 @@ require(["sally_client", "theo", "frames", "repository"], function(SallyClient,
</body>
</HTML>
\ No newline at end of file
</HTML>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment