Skip to content
This repository
Browse code

Move VERSION definition for lazy maintainer. :-)

  • Loading branch information...
commit 293032bfd03f80347701d6ec3e142571f3115cb4 1 parent 6b45325
Jeff Waugh authored February 08, 2011

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  lib/twitter.js
7  lib/twitter.js
... ...
@@ -1,4 +1,5 @@
1  
-var	http = require('http'),
  1
+var VERSION = '0.1.13',
  2
+	http = require('http'),
2 3
 	querystring = require('querystring'),
3 4
 	events = require('events'),
4 5
 	oauth = require('oauth'),
@@ -31,7 +32,7 @@ function Twitter(options) {
31 32
 		headers: {
32 33
 			'Accept': '*/*',
33 34
 			'Connection': 'close',
34  
-			'User-Agent': 'node-twitter/' + Twitter.VERSION
  35
+			'User-Agent': 'node-twitter/' + VERSION
35 36
 		},
36 37
 
37 38
 		request_token_url: 'https://api.twitter.com/oauth/request_token',
@@ -60,7 +61,7 @@ function Twitter(options) {
60 61
 		'1.0', null, 'HMAC-SHA1', null,
61 62
 		this.options.headers);
62 63
 }
63  
-Twitter.VERSION = '0.1.13';
  64
+Twitter.VERSION = VERSION;
64 65
 module.exports = Twitter;
65 66
 
66 67
 

0 notes on commit 293032b

Please sign in to comment.
Something went wrong with that request. Please try again.