Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnunicorn/erlycomet
https://github.com/gnunicorn/erlycomet
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gnunicorn/erlycomet
- Owner: gnunicorn
- Created: 2009-07-28T16:58:35.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-07-28T17:05:24.000Z (over 15 years ago)
- Last Synced: 2024-11-17T08:13:57.611Z (2 months ago)
- Language: Erlang
- Homepage:
- Size: 3.81 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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 = [];
},