]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#159] more documentation
authorScottDowne <sdowne@learn.senecac.on.ca>
Thu, 23 Dec 2010 21:11:59 +0000 (16:11 -0500)
committerScottDowne <sdowne@learn.senecac.on.ca>
Thu, 23 Dec 2010 21:11:59 +0000 (16:11 -0500)
plugins/twitter/popcorn.twitter.js

index 82060c9b83cfa65d8a3dd6b2cabb85302e936f70..8077935f44bb24934d6cc0f6fc6bb8a7aadf840a 100644 (file)
@@ -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
    *