Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
louisameline committed Feb 12, 2017
1 parent d2e4cdd commit 5b03262
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
12 changes: 7 additions & 5 deletions dist/js/tooltipster.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var defaults = {
IEmin: 6,
interactive: false,
multiple: false,
// must be 'body' for now (default), or an element positioned at (0, 0)
// will default to document.body, or must be an element positioned at (0, 0)
// in the document, typically like the very top views of an app.
parent: null,
plugins: ['sideTip'],
Expand Down Expand Up @@ -89,7 +89,7 @@ var defaults = {
hasTransitions: transitionSupport(),
IE: false,
// don't set manually, it will be updated by a build task after the manifest
semVer: '4.1.7',
semVer: '4.1.8',
window: win
},
core = function() {
Expand Down Expand Up @@ -1988,15 +1988,17 @@ $.Tooltipster.prototype = {

if (self.__state != 'closed') {

var eventNames = '';
var eventNames = '',
$body = $(env.window.document.body);

if (self.__options.triggerClose.click) {
eventNames += 'click.'+ self.__namespace +'-triggerClose ';
}
if (self.__options.triggerClose.tap && env.hasTouchCapability) {
eventNames += 'touchend.'+ self.__namespace +'-triggerClose';
}

$(env.window.document.body).on(eventNames, function(event) {
$body.on(eventNames, function(event) {

if (self._touchIsMeaningfulEvent(event)) {

Expand All @@ -2011,7 +2013,7 @@ $.Tooltipster.prototype = {
// needed to detect and ignore swiping
if (self.__options.triggerClose.tap && env.hasTouchCapability) {

$(env.window.document.body).on('touchstart.'+ self.__namespace +'-triggerClose', function(event) {
$body.on('touchstart.'+ self.__namespace +'-triggerClose', function(event) {
self._touchRecordEvent(event);
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tooltipster.bundle.min.js

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions dist/js/tooltipster.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var defaults = {
IEmin: 6,
interactive: false,
multiple: false,
// must be 'body' for now (default), or an element positioned at (0, 0)
// will default to document.body, or must be an element positioned at (0, 0)
// in the document, typically like the very top views of an app.
parent: null,
plugins: ['sideTip'],
Expand Down Expand Up @@ -89,7 +89,7 @@ var defaults = {
hasTransitions: transitionSupport(),
IE: false,
// don't set manually, it will be updated by a build task after the manifest
semVer: '4.1.7',
semVer: '4.1.8',
window: win
},
core = function() {
Expand Down Expand Up @@ -1988,15 +1988,17 @@ $.Tooltipster.prototype = {

if (self.__state != 'closed') {

var eventNames = '';
var eventNames = '',
$body = $(env.window.document.body);

if (self.__options.triggerClose.click) {
eventNames += 'click.'+ self.__namespace +'-triggerClose ';
}
if (self.__options.triggerClose.tap && env.hasTouchCapability) {
eventNames += 'touchend.'+ self.__namespace +'-triggerClose';
}

$(env.window.document.body).on(eventNames, function(event) {
$body.on(eventNames, function(event) {

if (self._touchIsMeaningfulEvent(event)) {

Expand All @@ -2011,7 +2013,7 @@ $.Tooltipster.prototype = {
// needed to detect and ignore swiping
if (self.__options.triggerClose.tap && env.hasTouchCapability) {

$(env.window.document.body).on('touchstart.'+ self.__namespace +'-triggerClose', function(event) {
$body.on('touchstart.'+ self.__namespace +'-triggerClose', function(event) {
self._touchRecordEvent(event);
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tooltipster.core.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "4.1.7"
"version": "4.1.8"
}

0 comments on commit 5b03262

Please sign in to comment.