From 99548a7b443c3556ab78ce10210d9f6363e54e12 Mon Sep 17 00:00:00 2001 From: Mohammed Buttu Date: Mon, 20 Jun 2011 10:35:03 -0400 Subject: [PATCH] #516 Fixed style --- plugins/flickr/popcorn.flickr.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/flickr/popcorn.flickr.js b/plugins/flickr/popcorn.flickr.js index 560daee..e55545b 100755 --- a/plugins/flickr/popcorn.flickr.js +++ b/plugins/flickr/popcorn.flickr.js @@ -66,7 +66,7 @@ if ( document.getElementById( options.target ) ) { document.getElementById( options.target ).appendChild( containerDiv ); } else { - throw ( "flickr target container doesn't exist" ); + throw ( "flickr target container doesn't exist" ); } // get the userid from Flickr API by using the username and apikey @@ -75,7 +75,7 @@ _uri = "http://api.flickr.com/services/rest/?method=flickr.people.findByUsername&"; _uri += "username=" + options.username + "&api_key=" + options.apikey + "&format=json&jsoncallback=flickr"; - Popcorn.xhr.getJSONP( _uri, function( data ) { + Popcorn.getJSONP( _uri, function( data ) { _userid = data.user.nsid; getFlickrData(); }); @@ -136,7 +136,7 @@ * of the video reaches the start time provided by the * options variable */ - start: function( event, options ){ + start: function( event, options ) { containerDiv.style.display = "inline"; }, /** @@ -145,7 +145,7 @@ * of the video reaches the end time provided by the * options variable */ - end: function( event, options ){ + end: function( event, options ) { containerDiv.style.display = "none"; }, _teardown: function( options ) { @@ -154,13 +154,13 @@ }; }, { - about:{ + about: { name: "Popcorn Flickr Plugin", version: "0.2", author: "Scott Downe, Steven Weerdenburg, Annasob", website: "http://scottdowne.wordpress.com/" }, - options:{ + options: { start: { elem: "input", type: "number", -- 2.43.0