update example

This commit is contained in:
Carl Glaysher
2012-03-18 07:57:36 +00:00
parent 971fe58b6c
commit 5e07facb9b

View File

@@ -25,11 +25,11 @@ Example
-------------- --------------
This example will parse a message to spamassassin to perform a report and will callback on success. This example will parse a message to spamassassin to perform a report and will callback on success.
`var spamc = require('./spamc');` ```var spamc = require('./spamc');
`var client = new spamc();` var client = new spamc();
`client.report('My Message as String',function(result){` client.report('My Message as String',function(result){
`console.log(result);` console.log(result);
`});` });```