From e59c38fc2ed013943c3c6ca6b19c8d2edebdd57c Mon Sep 17 00:00:00 2001 From: David Seifried Date: Fri, 23 Sep 2011 14:47:50 -0400 Subject: [PATCH] A small initial fix for scotts comments --- popcorn.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/popcorn.js b/popcorn.js index 59499b6..4e54f8f 100644 --- a/popcorn.js +++ b/popcorn.js @@ -1207,9 +1207,8 @@ options._natives.type = name; options._running = false; - natives[ "in" ] && ( natives.start = natives[ "in" ] ); - - natives[ "out" ] && ( natives.end = natives[ "out" ] ); + natives.start = natives.start || natives[ "in" ]; + natives.end = natives.end || natives[ "out" ]; // Check for previously set default options defaults = this.options.defaults && this.options.defaults[ options._natives && options._natives.type ]; -- 2.43.0