From: Antonio Ospite <ospite@studenti.unina.it>
Date: Mon, 19 Sep 2011 22:34:31 +0000 (+0200)
Subject: Fix spelling errors
X-Git-Tag: 0.2~5
X-Git-Url: https://git.ao2.it/GM_direct_download_links.git/commitdiff_plain/335f41dd6ec839775e5241bfbbf1481381077e5d

Fix spelling errors

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
---

diff --git a/direct_download_links.js b/direct_download_links.js
index f221e68..055ccea 100644
--- a/direct_download_links.js
+++ b/direct_download_links.js
@@ -72,10 +72,10 @@ for (i = 0; i < supported_sites.length; i++) {
  * Add a Direct Download link on the page for the specified file
  *
  * @param pageURL: the URL of the page we are modifying
- * @param fileElem: the emelemt containig the file URL
+ * @param fileElem: the element containing the file URL
  * @param fileRegexp: the regular expression for finding the file, the first
- *                    subpattern is taken as the file URL
- * @param linkDest: the element where to place the DIrect Download link
+ *                    sub-pattern is taken as the file URL
+ * @param linkDest: the element where to place the Direct Download link
  *
  * @return: null on error, true on success
  */