Skip to content

Commit

Permalink
corrected the 'require' statement to the right way
Browse files Browse the repository at this point in the history
modified:   Readme.md
modified:   examples/simple/simpleUpload.js
modified:   index.js
  • Loading branch information
rootslab committed Sep 20, 2011
1 parent beefc8d commit cca85e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Expand Up @@ -42,7 +42,7 @@ with git:

>``` javascript
>
> var formaline = require( 'formaline' ).formaline,
> var formaline = require( 'formaline' ),
> form = new formaline( { } ); // <-- empty config object
>```
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/simpleUpload.js
@@ -1,5 +1,5 @@
var http = require( 'http' ),
formaline = require( '../../index' ).formaline,
formaline = require( '../../index' ),
connect = require( 'connect' ),
fs = require( 'fs' ),
server,
Expand Down
2 changes: 1 addition & 1 deletion index.js
@@ -1 +1 @@
module.exports = require( './lib/formaline' );
module.exports = require( './lib/formaline' ).formaline;

0 comments on commit cca85e7

Please sign in to comment.