From 9ff874d2225159c30eeb8a60f030c293812d13c0 Mon Sep 17 00:00:00 2001 From: Mohammed Buttu Date: Tue, 17 May 2011 11:55:19 -0400 Subject: [PATCH] #332 Fixed code style --- plugins/linkedin/popcorn.linkedin.unit.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/plugins/linkedin/popcorn.linkedin.unit.js b/plugins/linkedin/popcorn.linkedin.unit.js index a72d96e..82b82ea 100644 --- a/plugins/linkedin/popcorn.linkedin.unit.js +++ b/plugins/linkedin/popcorn.linkedin.unit.js @@ -6,7 +6,7 @@ test("Popcorn LinkedIn Plugin", function () { var popped = Popcorn("#video"), expects = 5, count = 0, - linkedin = document.getElementById('linkedindiv'); + linkedin = document.getElementById( "linkedindiv" ); expect( expects ); @@ -19,7 +19,7 @@ test("Popcorn LinkedIn Plugin", function () { stop(); - ok( 'linkedin' in popped, "linkedin is a method of the popped instance" ); + ok( "linkedin" in popped, "linkedin is a method of the popped instance" ); plus(); equals( linkedin.innerHTML, "", "initially, there is nothing inside the linkedin div" ); @@ -27,13 +27,13 @@ test("Popcorn LinkedIn Plugin", function () { popped.linkedin({ - type : 'share', - counter : 'right', - url : "http://www.google.ca", - target : "linkedindiv", - apikey : 'ZOLRI2rzQS_oaXELpPF0aksxwFFEvoxAFZRLfHjaAhcGPfOX0Ds4snkJpWwKs8gk', - start : 1, - end : 3 + type: "share", + counter: "right", + url: "http://www.google.ca", + target: "linkedindiv", + apikey: "ZOLRI2rzQS_oaXELpPF0aksxwFFEvoxAFZRLfHjaAhcGPfOX0Ds4snkJpWwKs8gk", + start: 1, + end: 3 }); popped.exec( 2, function() { @@ -50,10 +50,10 @@ test("Popcorn LinkedIn Plugin", function () { plus(); }); - popped.volume(0).play(); + popped.volume( 0 ).play(); } else { // tests must be run on localhost - ok(false, "LinkedIn apikey will only work under localhost"); + ok( false, "LinkedIn apikey will only work under localhost" ); } }); -- 2.43.0