No description or website provided.
JavaScript
Permalink
Failed to load latest commit information.
example update static in example Dec 5, 2013
test start gh-pages Jan 18, 2013
.gitignore start gh-pages Jan 18, 2013
.travis.yml start gh-pages Jan 18, 2013
LICENSE start gh-pages Jan 18, 2013
README.md document widget function Jan 18, 2013
build.sh update demo page Jan 18, 2013
bundle.js update Jan 18, 2013
client.js fix Jan 18, 2013
index.html compatible with gh-pages Jan 18, 2013
index.js trigger a input event, so this seems like a normal update May 16, 2013
package.json 0.2.3 May 16, 2013
widget.js start gh-pages Jan 18, 2013

README.md

r-edit

Collaborative Editing the EASY way.

This module uses Commutative Replicated Data Structures, NO Operational Transforms.

see A commutative replicated data type for cooperative editing

and Logoot: a Scalable Optimistic Replication Algorithm for Collaborative P2P Networks

example

see r-edit/example

//client.js
var REdit = require('r-edit')

var r = REdit().wrap(textarea)
// or r.widget() <-- returns a new textarea (80x24)

var stream = shoe('/redit')

stream.pipe(r.createStream()).pipe(stream)
//server.js
var REdit = require('r-edit')

var r = REdit().wrap(textarea)

var stream = shoe('/redit')

shoe(function (stream) {
  stream.pipe(r.createStream()).pipe(stream)
}).install(httpServer)

markdown-widget

Create a widget that displays text as a subset of markdown.

var widget = require('r-edit/widget')
var e = new REdit()

document.body.appendChild(widget(e))

So far, only a few features are supported, headers, italics, bold, code, and bullet-points. but not syntax that must go over multiple lines, such as quotes, large code sections, or nested lists.

License

MIT