Skip to content
Browse files

function get(... - when I copy and paste this into visual studio, thi…

…s line gets converted to functionget(... this causes a whole lot of problem, would it be easier to change the function name to getEl???
  • Loading branch information...
1 parent 9fe119e commit 9621e043876aaf86733eeb6ff5fb92bd83dfbf52 @hahmed hahmed committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/javascripts/jquery.tipsy.js
View
8 src/javascripts/jquery.tipsy.js
@@ -133,7 +133,7 @@
options = $.extend({}, $.fn.tipsy.defaults, options);
- function get(ele) {
+ function getEl(ele) {
var tipsy = $.data(ele, 'tipsy');
if (!tipsy) {
tipsy = new Tipsy(ele, $.fn.tipsy.elementOptions(ele, options));
@@ -143,7 +143,7 @@
}
function enter() {
- var tipsy = get(this);
+ var tipsy = getEl(this);
tipsy.hoverState = 'in';
if (options.delayIn == 0) {
tipsy.show();
@@ -154,7 +154,7 @@
};
function leave() {
- var tipsy = get(this);
+ var tipsy = getEl(this);
tipsy.hoverState = 'out';
if (options.delayOut == 0) {
tipsy.hide();
@@ -163,7 +163,7 @@
}
};
- if (!options.live) this.each(function() { get(this); });
+ if (!options.live) this.each(function() { getEl(this); });
if (options.trigger != 'manual') {
var binder = options.live ? 'live' : 'bind',

0 comments on commit 9621e04

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