From: Rick Waldron Date: Tue, 23 Aug 2011 17:54:06 +0000 (-0400) Subject: [#680] Fixes suspicious code warnings X-Git-Tag: v0.8^2~13^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e71c6efd2a3901b5d5d03bb258ddf4d7529e4f49;p=popcorn-js.git [#680] Fixes suspicious code warnings --- diff --git a/players/baseplayer/popcorn.baseplayer.js b/players/baseplayer/popcorn.baseplayer.js index 9c2b2d3..5e3d1dc 100644 --- a/players/baseplayer/popcorn.baseplayer.js +++ b/players/baseplayer/popcorn.baseplayer.js @@ -15,22 +15,22 @@ this.playbackRate = 1; // These are considered to be "on" by being defined. Initialize to undefined - this.autoplay; - this.loop; + this.autoplay = null; + this.loop = null; // List of events this._events = {}; // The underlying player resource. May be ,