Permalink
Browse files

Fix examples

  • Loading branch information...
1 parent 1490cae commit 051fc9596ac6174949ecd4759aeb8646111ef41c @mscdex committed Oct 1, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 examples/colors.js
  2. +1 −1 examples/irc.client.js
  3. +2 −2 examples/widget.js
View
2 examples/colors.js
@@ -1,4 +1,4 @@
-var nc=require('../ncurses');
+var nc = require('..');
function pad(num) {
num = ''+num;
var digits = num.length;
View
2 examples/irc.client.js
@@ -1,6 +1,6 @@
/* Press ESC to bring up a window list to switch between windows */
-var nc = require('../ncurses'),
+var nc = require('..'),
irc = require('./deps/irc'),
widgets = require('../lib/widgets');
var connections = [], config = {
View
4 examples/widget.js
@@ -1,5 +1,5 @@
-var nc=require('../ncurses'), widgets=require('../lib/widgets'),
- path=require('path');
+var nc = require('..'), widgets = require('../lib/widgets'),
+ path = require('path');
var exampleList = Object.keys(widgets).concat(['FileViewer']), which;
if (process.argv.length !== 3 || exampleList.indexOf(process.argv[2]) === -1) {

0 comments on commit 051fc95

Please sign in to comment.