Permalink
Browse files

correct silly typo in examples

  • Loading branch information...
1 parent c7e58f4 commit 8a7db82d6bae0c896afcb224e38db20497ae8270 @Floby committed Apr 10, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/json.js
  2. +1 −1 examples/simple.js
View
@@ -1,4 +1,4 @@
-var Tokenizer = require('./Tokenizer');
+var Tokenizer = require('../lib/Tokenizer');
var t = new Tokenizer();
t.on('token', function(token, type) {
console.log('%s(%s)', token, type);
View
@@ -1,4 +1,4 @@
-var Tokenizer = require('./Tokenizer');
+var Tokenizer = require('../lib/Tokenizer');
var t = new Tokenizer(function(token, match) {
// change the type of the token before emitting it
if(match.type == 'word' && token == "coucou") return "coucou";

0 comments on commit 8a7db82

Please sign in to comment.