Permalink
Browse files

Move VERSION definition for lazy maintainer. :-)

  • Loading branch information...
1 parent 6b45325 commit 293032bfd03f80347701d6ec3e142571f3115cb4 @jdub jdub committed Feb 8, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 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;

0 comments on commit 293032b

Please sign in to comment.