Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed built lib/ directory. ShareJS now depends on coffeescript dir…

…ectly
  • Loading branch information...
commit 8fa0d2d3ce9d45cc1cdc328a5a95e5d21a8e9e4d 1 parent d1e414f
@josephg josephg authored
Showing with 4 additions and 2 deletions.
  1. +1 −1  examples/hello-node.js
  2. +2 −0  index.js
  3. +1 −1  package.json
View
2  examples/hello-node.js
@@ -1,7 +1,7 @@
// A simple node.js program which prepends 'Hello there' to the front of the
// 'hello' document.
-var client = require('../lib/client');
+var client = require('..').client;
client.open('hello', 'text', 'http://localhost:8000/sjs', function(doc, error) {
doc.insert('Hi there\n', 0);
View
2  index.js
@@ -0,0 +1,2 @@
+require('coffee-script');
+module.exports = require('./src');
View
2  package.json
@@ -5,7 +5,7 @@
"keywords": ["operational transformation", "ot", "concurrent", "collaborative", "database", "server"],
"homepage": "",
"author": "Joseph Gentle <josephg@gmail.com>",
- "main": "lib/index.js",
+ "main": "index.js",
"bin": {
"sharejs": "bin/sharejs",
"sharejs-exampleserver": "bin/exampleserver"

0 comments on commit 8fa0d2d

Please sign in to comment.
Something went wrong with that request. Please try again.