From: ScottDowne Date: Thu, 23 Dec 2010 21:11:59 +0000 (-0500) Subject: [#159] more documentation X-Git-Tag: v0.2~22^2~3^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3386f4101a804dd55d5442c7eec87a57b4676931;p=popcorn-js.git [#159] more documentation --- diff --git a/plugins/twitter/popcorn.twitter.js b/plugins/twitter/popcorn.twitter.js index 82060c9..8077935 100644 --- a/plugins/twitter/popcorn.twitter.js +++ b/plugins/twitter/popcorn.twitter.js @@ -6,11 +6,14 @@ * Twitter popcorn plug-in * Appends a Twitter widget to an element on the page. * Options parameter will need a start, end, target and source. + * Optional parameters are height and width. * Start is the time that you want this plug-in to execute * End is the time that you want this plug-in to stop executing * Src is the hash tag or twitter user to get tweets from * Target is the id of the document element that the images are * appended to, this target element must exist on the DOM + * Height is the height of the widget, defaults to 200 + * Width is the width of the widget, defaults to 250 * * @param {Object} options *