Merge pull request #186 from rebootd/master

renamed 'OAuth' -> 'oauth' to be linux friendly in the readme
This commit is contained in:
Ciaran Jessup 2014-03-24 16:13:15 +00:00
commit 324f6d69da

View File

@ -22,7 +22,7 @@ To run examples/tests insall Mocha `$ npm install -g mocha` and run `$ mocha you
```javascript ```javascript
describe('OAuth1.0',function(){ describe('OAuth1.0',function(){
var OAuth = require('OAuth'); var OAuth = require('oauth');
it('tests trends Twitter API v1.1',function(done){ it('tests trends Twitter API v1.1',function(done){
var oauth = new OAuth.OAuth( var oauth = new OAuth.OAuth(
@ -50,7 +50,7 @@ describe('OAuth1.0',function(){
## OAuth2.0 ## OAuth2.0
```javascript ```javascript
describe('OAuth2',function(){ describe('OAuth2',function(){
var OAuth = require('OAuth'); var OAuth = require('oauth');
it('gets bearer token', function(done){ it('gets bearer token', function(done){
var OAuth2 = OAuth.OAuth2; var OAuth2 = OAuth.OAuth2;