Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
git-svn co of erlycomet
JavaScript Erlang
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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 = [];
 		},


Something went wrong with that request. Please try again.