Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Cleaned up some redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed May 15, 2011
1 parent 1f3b56b commit bf1c053
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dist/jquery.qtip.basic.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sat May 14 15:49:38 2011 +0100
* Date: Sun May 15 15:15:52 2011 +0100
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down Expand Up @@ -671,7 +671,7 @@ function QTip(target, options, id, attr)
},

// Properties which require event reassignment
'^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)$': function(obj, o, v, p, match) {
'^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)$': function() {
unassignEvents(); assignEvents();
}
};
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sat May 14 15:49:38 2011 +0100
* Date: Sun May 15 15:15:52 2011 +0100
*/

/* Fluid class for determining actual width in IE */
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sat May 14 15:49:38 2011 +0100
* Date: Sun May 15 15:15:52 2011 +0100
*/

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
Expand Down Expand Up @@ -671,7 +671,7 @@ function QTip(target, options, id, attr)
},

// Properties which require event reassignment
'^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)$': function(obj, o, v, p, match) {
'^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)$': function() {
unassignEvents(); assignEvents();
}
};
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.qtip.pack.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -634,7 +634,7 @@ function QTip(target, options, id, attr)
},

// Properties which require event reassignment
'^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)$': function(obj, o, v, p, match) {
'^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)$': function() {
unassignEvents(); assignEvents();
}
};
Expand Down

0 comments on commit bf1c053

Please sign in to comment.