Reorganized locals in JSONp transport.

This commit is contained in:
Guillermo Rauch
2011-12-22 15:16:24 -08:00
parent 8a43545557
commit 6e335dab42

View File

@@ -7,18 +7,24 @@ var Transport = require('../transport')
, Polling = require('./polling')
, util = require('../util')
/**
* Noop.
*/
function empty () { }
/**
* Module exports.
*/
module.exports = JSONPPolling;
/**
* Cached regular expressions.
*/
var rNewline = /\n/g
/**
* Noop.
*/
function empty () { }
/**
* JSONP Polling constructor.
*