Skip to content

Commit

Permalink
trailing nodagi
Browse files Browse the repository at this point in the history
  • Loading branch information
pdeschen committed May 29, 2011
1 parent ba43726 commit 4a0f2be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions bin/nodast
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env node

var $nodeagi;
var $nodeast;
try {
$nodeagi = require('nodeagi');
$nodeast = require('nodeast');
}
catch(exception) {
// load in place
if (!$nodeagi) {
$nodeagi = require('../lib/index.js');
if (!$nodeast) {
$nodeast = require('../lib/index.js');
}
}
$nodeagi.parse();
$nodeast.parse();
2 changes: 1 addition & 1 deletion readme.textile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ exports.config = config;
h2. Features

* Basic config definition with location and upstream
* Basic command line test mode (@nodagi -t 'agi://foobar.com:8080/querystring'@)
* Basic command line test mode (@nodast -t 'agi://foobar.com:8080/querystring'@)
* Syslog
* Daemon init mode

Expand Down

0 comments on commit 4a0f2be

Please sign in to comment.