]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
#516 Fixed style
authorMohammed Buttu <mohammedbuttu@gmail.com>
Mon, 20 Jun 2011 14:35:03 +0000 (10:35 -0400)
committerMohammed Buttu <mohammedbuttu@gmail.com>
Mon, 20 Jun 2011 14:35:03 +0000 (10:35 -0400)
plugins/flickr/popcorn.flickr.js

index 560daee7be0a437f20d30ad5d132ca0219516935..e55545b638a872f5566db78154456fab68a903c2 100755 (executable)
@@ -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();
         });
        * of the video reaches the start time provided by the
        * options variable
        */
-      start: function( event, options ){
+      start: function( event, options ) {
         containerDiv.style.display = "inline";
       },
       /**
        * 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 ) {
     };
   },
   {
-    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",