Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

function get changes to => functionget #89

Closed
wants to merge 1 commit into from

2 participants

@hahmed

function get(... - when I copy and paste this into visual studio, this line gets converted to functionget(... this causes a whole lot of problem, would it be easier to change the function name to getEl???

@hahmed hahmed 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???
9621e04
@hashar

You should disable auto-correct in Visual Studio :-D

@hahmed

@hashar lol...

@hahmed hahmed closed this
@hahmed hahmed deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 30, 2011
  1. @hahmed

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

    hahmed authored
    …s line gets converted to functionget(... this causes a whole lot of problem, would it be easier to change the function name to getEl???
This page is out of date. Refresh to see the latest.
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',
Something went wrong with that request. Please try again.