Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
cleanup
- Loading branch information
Andrei Neculau
committed
Apr 22, 2013
1 parent
6d7a84d
commit 772378d
Showing
4 changed files
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
#!/usr/bin/env node | ||
/*jshint node:true*/ | ||
|
||
var FS = require('fs'), | ||
var fs = require('fs'), | ||
generate = require('./index.js'), | ||
schema, | ||
instance; | ||
|
||
schema = JSON.parse(FS.readFileSync(process.argv[2], 'utf8')); | ||
schema = JSON.parse(fs.readFileSync(process.argv[2], 'utf8')); | ||
instance = generate(schema); | ||
console.log(JSON.stringify(instance, null, 4)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/*jshint node:true*/ | ||
require('coffee-script'); | ||
module.exports = require('./index_'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters