Skip to content

Commit

Permalink
Changed name of function and updated npm info.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Dec 30, 2010
1 parent 713e12f commit 764601e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example.js
Expand Up @@ -3,6 +3,6 @@ var sys = require('sys'),

var calais = new Calais('your_api_key')
calais.set('content', 'The Federal Reserve is the enemy of Ron Paul.')
calais.get(function(result) {
calais.fetch(function(result) {
sys.puts(sys.inspect(result))
})
2 changes: 1 addition & 1 deletion lib/calais.js
Expand Up @@ -59,7 +59,7 @@ Calais.prototype = {
return clean_result
},

get:function(callback) {
fetch:function(callback) {

var calais = this

Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "calais",
"version": "0.0.1",
"version": "0.1.0",
"description": "Semantically analyze text using the Calais web service.",
"tags" : ["semantic", "calais"],
"author" : "Mike Cantelon <mcantelon@gmail.com>",
Expand All @@ -22,6 +22,6 @@
},
"licenses" : [{
"type" : "MIT",
"url" : "http://github.com/mcantelon/node-calais/LICENSE"
"url" : "http://github.com/mcantelon/node-calais/blob/master/LICENSE"
}]
}

0 comments on commit 764601e

Please sign in to comment.