Skip to content

Commit

Permalink
dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
louisameline committed Sep 22, 2016
1 parent a506f0a commit a254ef5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions dist/js/tooltipster-follower.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* tooltipster-follower v0.1.4
* tooltipster-follower v0.1.5
* https://github.com/louisameline/tooltipster-follower/
* Developed by Louis Ameline
* MIT license
Expand Down Expand Up @@ -544,7 +544,14 @@ $.tooltipster._plugin({
$clone = self.__instance._$tooltip.clone(),
// start position tests session
ruler = $.tooltipster._getRuler($clone),
rulerResults = ruler.free().measure(),
animation = self.__instance.option('animation');

// an animation class could contain properties that distort the size
if (animation) {
$clone.removeClass('tooltipster-'+ animation);
}

var rulerResults = ruler.free().measure(),
position = {
size: rulerResults.size
};
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tooltipster-follower.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

0 comments on commit a254ef5

Please sign in to comment.