Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
foxdonut committed Apr 20, 2015
1 parent 97dc41c commit fe79d2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,12 @@ define(function(require) {
* rejects if an error occurs.
*/
function parseIncoming(source, eventName, targetProxy, connect, options, wire, createConnection) {
var promise, methodName, methodNames;
var promise, methodNames;

if(eventName) {
// 'component.eventName': 'methodName'
// 'component.eventName': 'transform | methodName'

methodName = options;
methodNames = Array.isArray(options) ? options : [ options ];

promise = when.map(methodNames, function(methodName) {
Expand All @@ -129,7 +128,6 @@ define(function(require) {
// eventName: 'transform | methodName'
// }

source = methodName;
promise = wire.getProxy(connect).then(function(srcProxy) {
var name, promises;

Expand Down

0 comments on commit fe79d2b

Please sign in to comment.