Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move VERSION definition for lazy maintainer. :-)

  • Loading branch information...
commit 293032bfd03f80347701d6ec3e142571f3115cb4 1 parent 6b45325
Jeff Waugh jdub authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/twitter.js
7 lib/twitter.js
View
@@ -1,4 +1,5 @@
-var http = require('http'),
+var VERSION = '0.1.13',
+ http = require('http'),
querystring = require('querystring'),
events = require('events'),
oauth = require('oauth'),
@@ -31,7 +32,7 @@ function Twitter(options) {
headers: {
'Accept': '*/*',
'Connection': 'close',
- 'User-Agent': 'node-twitter/' + Twitter.VERSION
+ 'User-Agent': 'node-twitter/' + VERSION
},
request_token_url: 'https://api.twitter.com/oauth/request_token',
@@ -60,7 +61,7 @@ function Twitter(options) {
'1.0', null, 'HMAC-SHA1', null,
this.options.headers);
}
-Twitter.VERSION = '0.1.13';
+Twitter.VERSION = VERSION;
module.exports = Twitter;
Please sign in to comment.
Something went wrong with that request. Please try again.