From 095b474e110f7ed7f5920ca297607b58ed351128 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Sun, 22 Feb 2015 14:58:20 +0100 Subject: Fixed Event-Spec for Chrome --- spec/spec/event.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec/event.js b/spec/spec/event.js index 403c795..9f1f0e1 100644 --- a/spec/spec/event.js +++ b/spec/spec/event.js @@ -1,11 +1,11 @@ describe('Event', function() { var rect, context , toast = null - , fruitsInDetail, + , fruitsInDetail = null, action = function(e) { toast = 'ready' context = this - fruitsInDetail = e.detail + fruitsInDetail = e.detail || null } beforeEach(function() { -- cgit v1.2.3