Skip to content

Commit 0891d42

Browse files
Merge pull request #1 from lipsumar/patch-1
fix missing var declaration
2 parents b04eca9 + 7a26d99 commit 0891d42

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)