Skip to content

Commit 7a26d99

Browse files
authored
fix missing var declaration
1 parent b04eca9 commit 7a26d99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/views/render_async/_request_vanilla.js.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<% end %>
77

88
function createEvent(name) {
9+
var event = null;
910
if (typeof(Event) === 'function') {
1011
event = new Event(name);
1112
} else {

0 commit comments

Comments
 (0)