Skip to content

Commit b23afed

Browse files
author
mikewse
committed
Fixes #4 (github issue). Added "var" to local variable decl.
1 parent d642226 commit b23afed

File tree

1 file changed

+1
-1
lines changed
  • core/impl/main/java/org/directwebremoting

1 file changed

+1
-1
lines changed

core/impl/main/java/org/directwebremoting/engine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ if (typeof dwr == 'undefined') dwr = {};
16661666
};
16671667
}
16681668

1669-
httpMethod = dwr.engine.transport.xhr.httpMethod;
1669+
var httpMethod = dwr.engine.transport.xhr.httpMethod;
16701670

16711671
batch.mode = batch.isPoll ? dwr.engine._ModePlainPoll : dwr.engine._ModePlainCall;
16721672
var request = dwr.engine.batch.constructRequest(batch, httpMethod);

0 commit comments

Comments
 (0)