git-svn co of erlycomet
JavaScript Erlang
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo-docroot
deps
ebin
include
src
.gitignore
Emakefile
Makefile
README
erlycomet_demo.config

README

Mochiweb:  rev. 47 (beam files are in priv/ebin)


Collaborative drawing Example demo
==================================
1) install dojo, dojox and dijit (from SVN) into demo-docroot
   (because it won't work with dojo from AOL CDN)

2) apply this patch todojox.sketch.UndoStack.add:

+++ UndoStack.js
@@ -78,6 +78,9 @@
 				}
 			};
 			//console.log('dojox.sketch history add',state);
+			
+			dojox.cometd.publish("/chat/demo", {user: room._username, draw: state});
+			
 			this._steps.push(state);
 			this._undoedSteps = [];
 		},