summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-02-22 14:58:20 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-02-22 14:58:20 +0100
commit095b474e110f7ed7f5920ca297607b58ed351128 (patch)
tree9921130f2f9fc115d5f29c4218e44f88a1b7170f
parent7e47015224e778aa1bac45346665f1854b1ce4dc (diff)
downloadsvg.js-095b474e110f7ed7f5920ca297607b58ed351128.tar.gz
svg.js-095b474e110f7ed7f5920ca297607b58ed351128.zip
Fixed Event-Spec for Chrome
-rw-r--r--spec/spec/event.js4
1 files 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() {