Permalink
Browse files

Remove use of sys module

  • Loading branch information...
1 parent 94c612b commit 287d3ee5bb52e6e2e30496cbb79a1a2e3cc1c869 @marcuswestin committed Jun 24, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −2 bin/require-command.js
  2. +1 −2 example/compile.js
@@ -1,7 +1,6 @@
#!/usr/bin/env node
var path = require('path'),
- sys = require('sys'),
server = require('../server'),
compiler = require('../compiler')
@@ -47,7 +46,7 @@ switch (opts.command) {
console.log('Specify a single file to compile, e.g. require compile ./path/to/file.js')
process.exit(1)
}
- sys.print(compiler.compile(opts.path))
+ console.log(compiler.compile(opts.path))
break
default:
if (opts.command) {
View
@@ -1,5 +1,4 @@
-var sys = require('sys'),
- fs = require('fs'),
+var fs = require('fs'),
compiler = require('../compiler')
var file = __dirname + '/client.js',

0 comments on commit 287d3ee

Please sign in to comment.