Skip to content

Commit 8fa0d2d

Browse files
committed
Removed built lib/ directory. ShareJS now depends on coffeescript directly
1 parent d1e414f commit 8fa0d2d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

examples/hello-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// A simple node.js program which prepends 'Hello there' to the front of the
22
// 'hello' document.
33

4-
var client = require('../lib/client');
4+
var client = require('..').client;
55

66
client.open('hello', 'text', 'http://localhost:8000/sjs', function(doc, error) {
77
doc.insert('Hi there\n', 0);

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require('coffee-script');
2+
module.exports = require('./src');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": ["operational transformation", "ot", "concurrent", "collaborative", "database", "server"],
66
"homepage": "",
77
"author": "Joseph Gentle <[email protected]>",
8-
"main": "lib/index.js",
8+
"main": "index.js",
99
"bin": {
1010
"sharejs": "bin/sharejs",
1111
"sharejs-exampleserver": "bin/exampleserver"

0 commit comments

Comments
 (0)