app/assets/javascript/toastr_rails.js in toastr_rails-2.1.0 vs app/assets/javascript/toastr_rails.js in toastr_rails-2.1.0.1

- old
+ new

@@ -16,10 +16,10 @@ "hideMethod": "fadeOut" }; var showToast = function(flash){ for(var i = 0; i < flash.length; i++ ){ - msg = flash[i]; + var msg = flash[i]; var type = { notice: 'success', alert: 'error', warning: 'warning', info: 'info'