Skip to content

Commit

Permalink
Merge pull request #744 from cedricvidal/master
Browse files Browse the repository at this point in the history
upgraded grunt-umd to 3.0.0 in order to fix CommonJS false positive detection
  • Loading branch information
louisameline authored Aug 19, 2019
2 parents bb575f0 + a19c5b9 commit b3b72ce
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion dist/css/tooltipster.bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
.tooltipster-update-scale {
animation: tooltipster-scaling 600ms;
}


/**
* DEFAULT STYLE OF THE SIDETIP PLUGIN
*
Expand Down
10 changes: 6 additions & 4 deletions dist/js/plugins/tooltipster/SVG/tooltipster-SVG.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
(function (root, factory) {
if (root === undefined && window !== undefined) root = window;
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(["tooltipster"], function (a0) {
return (factory(a0));
});
} else if (typeof exports === 'object') {
} else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require("tooltipster"));
} else {
factory(jQuery);
factory(root["jQuery"]);
}
}(this, function ($) {

(function (root, factory) {
if (root === undefined && window !== undefined) root = window;
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(["jquery"], function (a0) {
return (factory(a0));
});
} else if (typeof exports === 'object') {
} else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require("jquery"));
} else {
factory(jQuery);
factory(root["jQuery"]);
}
}(this, function ($) {

Expand Down
2 changes: 1 addition & 1 deletion dist/js/plugins/tooltipster/SVG/tooltipster-SVG.min.js

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

19 changes: 10 additions & 9 deletions dist/js/tooltipster.bundle.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/**
* tooltipster http://iamceege.github.io/tooltipster/
* A rockin' custom tooltip jQuery plugin
* Developed by Caleb Jacob and Louis Ameline
* MIT license
*/
/**
* tooltipster http://iamceege.github.io/tooltipster/
* A rockin' custom tooltip jQuery plugin
* Developed by Caleb Jacob and Louis Ameline
* MIT license
*/
(function (root, factory) {
if (root === undefined && window !== undefined) root = window;
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(["jquery"], function (a0) {
return (factory(a0));
});
} else if (typeof exports === 'object') {
} else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require("jquery"));
} else {
factory(jQuery);
factory(root["jQuery"]);
}
}(this, function ($) {

Expand Down Expand Up @@ -3340,7 +3341,7 @@ function transitionSupport() {

// we'll return jQuery for plugins not to have to declare it as a dependency,
// but it's done by a build task since it should be included only once at the
// end when we concatenate the main file with a plugin
// end when we concatenate the main file with a plugin
// sideTip is Tooltipster's default plugin.
// This file will be UMDified by a build task.

Expand Down
4 changes: 2 additions & 2 deletions dist/js/tooltipster.bundle.min.js

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions dist/js/tooltipster.main.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/**
* tooltipster http://iamceege.github.io/tooltipster/
* A rockin' custom tooltip jQuery plugin
* Developed by Caleb Jacob and Louis Ameline
* MIT license
*/
/**
* tooltipster http://iamceege.github.io/tooltipster/
* A rockin' custom tooltip jQuery plugin
* Developed by Caleb Jacob and Louis Ameline
* MIT license
*/
(function (root, factory) {
if (root === undefined && window !== undefined) root = window;
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(["jquery"], function (a0) {
return (factory(a0));
});
} else if (typeof exports === 'object') {
} else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require("jquery"));
} else {
factory(jQuery);
factory(root["jQuery"]);
}
}(this, function ($) {

Expand Down
2 changes: 1 addition & 1 deletion dist/js/tooltipster.main.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 @@ -17,7 +17,7 @@
"grunt-contrib-cssmin": "1.0.1",
"grunt-contrib-uglify": "1.0.1",
"grunt-string-replace": "1.2.1",
"grunt-umd": "2.3.6"
"grunt-umd": "3.0.0"
},
"homepage": "https://github.com/iamceege/tooltipster",
"keywords": [
Expand Down

0 comments on commit b3b72ce

Please sign in to comment.