Skip to content
Browse files

Updated argument names for core helper functions.

  • Loading branch information...
1 parent e42a73d commit 56bd5b4c0a79ab2cf01c48b61d57799956fcae7b @stevenbenner committed Oct 3, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 src/core.js
View
18 src/core.js
@@ -274,34 +274,34 @@ function CSSCordinate() {
/**
* Asks the DisplayController for the specified element to show() its tooltip.
* @private
- * @param {jQuery} el The element that the tooltip should be shown for.
+ * @param {jQuery} element The element that the tooltip should be shown for.
* @param {boolean=} immediate Skip intent testing (optional).
* @param {boolean=} forcedOpen Ignore cursor position and force tooltip to open (optional).
*/
-function elementShowTip(el, immediate, forcedOpen) {
- $(el).data(DATA_DISPLAYCONTROLLER).show(immediate, forcedOpen);
+function elementShowTip(element, immediate, forcedOpen) {
+ $(element).data(DATA_DISPLAYCONTROLLER).show(immediate, forcedOpen);
}
/**
* Tracks the mouse cursor position specified in the event and attempts to open
* the tooltip for the specified element.
* @private
- * @param {jQuery} el The element that the tooltip should be shown for.
+ * @param {jQuery} element The element that the tooltip should be shown for.
* @param {jQuery.Event} event The event with pageX and pageY info.
*/
-function elementShowAndTrack(el, event) {
+function elementShowAndTrack(element, event) {
trackMouse(event);
session.previousX = event.pageX;
session.previousY = event.pageY;
- elementShowTip(el);
+ elementShowTip(element);
}
/**
* Asks the DisplayController for the specified element to hide() its tooltip.
* @private
- * @param {jQuery} el The element that the tooltip should be shown for.
+ * @param {jQuery} element The element that the tooltip should be shown for.
* @param {boolean=} immediate Disable close delay (optional).
*/
-function elementHideTip(el, immediate) {
- $(el).data(DATA_DISPLAYCONTROLLER).hide(immediate);
+function elementHideTip(element, immediate) {
+ $(element).data(DATA_DISPLAYCONTROLLER).hide(immediate);
}

0 comments on commit 56bd5b4

Please sign in to comment.
Something went wrong with that request. Please try again.