From 5b93be8af156cdf56031aa0d48ac97eea47cc043 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 22 Sep 2011 14:37:40 -0400 Subject: [PATCH] Fixes outerHTML issue --- test/popcorn.unit.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index 55a5e9a..5a2ca4b 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -649,12 +649,16 @@ test( "play(n)/pause(n) custom stop()", function() { return this.pause( 0 ); }; - var outerHTML = document.getElementById("video").outerHTML, + var outerHTML = [ + "" + ].join( "\n" ), count = 0, expects = 2, $pop; - document.getElementById("qunit-fixture").innerHTML = outerHTML.replace('id="video"', 'id="video-fixture"'); + document.getElementById("qunit-fixture").innerHTML = outerHTML; $pop = Popcorn( "#video-fixture" ); -- 2.43.0