Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove use of sys module

  • Loading branch information...
commit 287d3ee5bb52e6e2e30496cbb79a1a2e3cc1c869 1 parent 94c612b
@marcuswestin authored
Showing with 2 additions and 4 deletions.
  1. +1 −2  bin/require-command.js
  2. +1 −2  example/compile.js
View
3  bin/require-command.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
3  example/compile.js
@@ -1,5 +1,4 @@
-var sys = require('sys'),
- fs = require('fs'),
+var fs = require('fs'),
compiler = require('../compiler')
var file = __dirname + '/client.js',
Please sign in to comment.
Something went wrong with that request. Please try again.