Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2013-04-28 16:51:00 +0400
committersgiehl <stefan@piwik.org>2013-04-28 16:51:00 +0400
commit8af5f6443c82e404b9b7855d5978a299bb13d905 (patch)
tree6dbf44eb1bfdb9205cc7edd6b87fbba2424ac37c /plugins/Annotations/templates
parent87916f613fd01b383aad04cdbe4dbf924526d780 (diff)
converted global js vars to local vars where possible
Diffstat (limited to 'plugins/Annotations/templates')
-rwxr-xr-xplugins/Annotations/templates/annotations.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Annotations/templates/annotations.js b/plugins/Annotations/templates/annotations.js
index 85097ad1d6..941ae4486a 100755
--- a/plugins/Annotations/templates/annotations.js
+++ b/plugins/Annotations/templates/annotations.js
@@ -194,7 +194,7 @@
* attributes.
*
* @param {Element} manager The annotation manager.
- * @param {string} tml The HTML of the new annotation manager.
+ * @param {string} html The HTML of the new annotation manager.
*/
var replaceAnnotationManager = function (manager, html) {
var newManager = $(html);
@@ -208,7 +208,7 @@
* Returns true if an annotation element is starred, false if otherwise.
*
* @param {Element} annotation The annotation element.
- * @return {bool}
+ * @return {boolean}
*/
var isAnnotationStarred = function (annotation) {
return +$('.annotation-star', annotation).attr('data-starred') == 1 ? true : false;
@@ -443,7 +443,7 @@
* @param {int} idSite The ID of the site to show the annotations of.
* @param {string} date The start date of the period.
* @param {string} period The period type.
- * @param {int} Whether to include the last N periods in the date range or not. Can
+ * @param {int} lastN Whether to include the last N periods in the date range or not. Can
* be undefined.
*/
var showAnnotationViewer = function (domElem, idSite, date, period, lastN, callback) {