Browse files

Update readme [ci skip]

  • Loading branch information...
1 parent 8059830 commit 2ed3354aebb970ef00f642ecbce450232df3bd96 @brianloveswords committed Oct 19, 2012
Showing with 2 additions and 11 deletions.
  1. +2 −11
@@ -38,21 +38,12 @@ In this case, you would use `new habitat('airsupport')` -- the prefix will be
auto-capitalized because only barbarians use lowercase letters in their
environment variables.
-Note that you don't have to pass in a prefix, if you're crazy like
-that. Keys will be looked up (after capitalization) straight from the
-var env = new habitat;
-var path= env.get('path');
`defaults` is an object representing the defaults if a key cannot be
found in the environment. This should be used sparingly.
-var env = new habitat('airsupport', { port: 3000 })
-// will try the environment first, then fall back to 3000
+var env = new habitat('airsupport', { port: 1024 })
+// will try the environment first, then fall back to 1024
var port = env.get('port');

0 comments on commit 2ed3354

Please sign in to comment.