New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function get changes to => functionget #89

Closed
wants to merge 1 commit into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+4 −4
Diff settings

Always

Just for now

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...
hahmed committed Dec 30, 2011
commit 9621e043876aaf86733eeb6ff5fb92bd83dfbf52
@@ -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',
ProTip! Use n and p to navigate between commits in a pull request.