diff --git a/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.css b/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.css index 2d276b7..fd35aca 100644 --- a/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.css +++ b/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.css @@ -1,6 +1,6 @@ /*! * bootstrap-tooltip-custom-class - * v1.0.0 + * v1.0.2 * Extends Bootstrap Tooltip plugin by adding custom classes. * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme * License: MIT diff --git a/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.min.css b/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.min.css index f05679f..1c2616c 100644 --- a/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.min.css +++ b/bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.min.css @@ -1,6 +1,6 @@ /*! * bootstrap-tooltip-custom-class - * v1.0.0 + * v1.0.2 * Extends Bootstrap Tooltip plugin by adding custom classes. * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme * License: MIT diff --git a/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.js b/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.js index 11967c9..ee62587 100644 --- a/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.js +++ b/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.js @@ -1,3 +1,12 @@ +/*! + * bootstrap-tooltip-custom-class + * v1.0.2 + * Extends Bootstrap Tooltip plugin by adding custom classes. + * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme + * License: MIT + */ + + (function ($) { if (typeof $.fn.tooltip.Constructor === 'undefined') { @@ -14,7 +23,7 @@ Tooltip.prototype.show = function () { - _show.apply(this,Array.prototype.slice.apply(arguments)); + _show.apply(this); if ( this.options.customClass ) { var $tip = this.tip(); diff --git a/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.min.js b/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.min.js index ab3b13c..67ea28a 100644 --- a/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.min.js +++ b/bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.min.js @@ -1 +1,10 @@ -!function(o){if(void 0===o.fn.tooltip.Constructor)throw new Error("Bootstrap Tooltip must be included first!");var t=o.fn.tooltip.Constructor;o.extend(t.DEFAULTS,{customClass:""});var s=t.prototype.show;t.prototype.show=function(){s.apply(this,Array.prototype.slice.apply(arguments)),this.options.customClass&&this.tip().addClass(this.options.customClass)}}(window.jQuery); \ No newline at end of file +/*! + * bootstrap-tooltip-custom-class + * v1.0.2 + * Extends Bootstrap Tooltip plugin by adding custom classes. + * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme + * License: MIT + */ + + +!function(o){if(void 0===o.fn.tooltip.Constructor)throw new Error("Bootstrap Tooltip must be included first!");var t=o.fn.tooltip.Constructor;o.extend(t.DEFAULTS,{customClass:""});var s=t.prototype.show;t.prototype.show=function(){s.apply(this),this.options.customClass&&this.tip().addClass(this.options.customClass)}}(window.jQuery); \ No newline at end of file diff --git a/bootstrap-v3/src/js/bootstrap-tooltip-custom-class.js b/bootstrap-v3/src/js/bootstrap-tooltip-custom-class.js index 11967c9..96652bf 100644 --- a/bootstrap-v3/src/js/bootstrap-tooltip-custom-class.js +++ b/bootstrap-v3/src/js/bootstrap-tooltip-custom-class.js @@ -14,7 +14,7 @@ Tooltip.prototype.show = function () { - _show.apply(this,Array.prototype.slice.apply(arguments)); + _show.apply(this); if ( this.options.customClass ) { var $tip = this.tip(); diff --git a/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.css b/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.css index 7094c36..120d79a 100644 --- a/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.css +++ b/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.css @@ -1,6 +1,6 @@ /*! * bootstrap-tooltip-custom-class - * v1.0.0 + * v1.0.2 * Extends Bootstrap Tooltip plugin by adding custom classes. * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme * License: MIT diff --git a/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.min.css b/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.min.css index 85e2c01..40a2195 100644 --- a/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.min.css +++ b/bootstrap-v4-alpha/dist/css/bootstrap-tooltip-custom-class.min.css @@ -1,6 +1,6 @@ /*! * bootstrap-tooltip-custom-class - * v1.0.0 + * v1.0.2 * Extends Bootstrap Tooltip plugin by adding custom classes. * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme * License: MIT diff --git a/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.js b/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.js index e6eae57..c024279 100644 --- a/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.js +++ b/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.js @@ -1,3 +1,12 @@ +/*! + * bootstrap-tooltip-custom-class + * v1.0.2 + * Extends Bootstrap Tooltip plugin by adding custom classes. + * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme + * License: MIT + */ + + (function($) { if (typeof $.fn.tooltip.Constructor === 'undefined') { @@ -6,7 +15,6 @@ var Tooltip = $.fn.tooltip.Constructor; - // add customClass option to Bootstrap Tooltip $.extend( Tooltip.Default, { customClass: '' }); @@ -15,8 +23,7 @@ Tooltip.prototype.show = function () { - // invoke parent method - _show.apply(this,Array.prototype.slice.apply(arguments)); + _show.apply(this); if (this.config.customClass) { var tip = this.getTipElement(); diff --git a/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.min.js b/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.min.js index 0c044f9..8ffe6da 100644 --- a/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.min.js +++ b/bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.min.js @@ -1 +1,10 @@ -!function(o){if(void 0===o.fn.tooltip.Constructor)throw new Error("Bootstrap Tooltip must be included first!");var t=o.fn.tooltip.Constructor;o.extend(t.Default,{customClass:""});var s=t.prototype.show;t.prototype.show=function(){if(s.apply(this,Array.prototype.slice.apply(arguments)),this.config.customClass){var t=this.getTipElement();o(t).addClass(this.config.customClass)}}}(window.jQuery); \ No newline at end of file +/*! + * bootstrap-tooltip-custom-class + * v1.0.2 + * Extends Bootstrap Tooltip plugin by adding custom classes. + * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme + * License: MIT + */ + + +!function(o){if(void 0===o.fn.tooltip.Constructor)throw new Error("Bootstrap Tooltip must be included first!");var t=o.fn.tooltip.Constructor;o.extend(t.Default,{customClass:""});var s=t.prototype.show;t.prototype.show=function(){if(s.apply(this),this.config.customClass){var t=this.getTipElement();o(t).addClass(this.config.customClass)}}}(window.jQuery); \ No newline at end of file diff --git a/bootstrap-v4-alpha/package-lock.json b/bootstrap-v4-alpha/package-lock.json index 0f9b9a8..6df2c27 100644 --- a/bootstrap-v4-alpha/package-lock.json +++ b/bootstrap-v4-alpha/package-lock.json @@ -1,6 +1,6 @@ { "name": "bootstrap-tooltip-custom-class", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/bootstrap-v4-alpha/src/js/bootstrap-tooltip-custom-class.js b/bootstrap-v4-alpha/src/js/bootstrap-tooltip-custom-class.js index e6eae57..66520f9 100644 --- a/bootstrap-v4-alpha/src/js/bootstrap-tooltip-custom-class.js +++ b/bootstrap-v4-alpha/src/js/bootstrap-tooltip-custom-class.js @@ -6,7 +6,6 @@ var Tooltip = $.fn.tooltip.Constructor; - // add customClass option to Bootstrap Tooltip $.extend( Tooltip.Default, { customClass: '' }); @@ -15,8 +14,7 @@ Tooltip.prototype.show = function () { - // invoke parent method - _show.apply(this,Array.prototype.slice.apply(arguments)); + _show.apply(this); if (this.config.customClass) { var tip = this.getTipElement(); diff --git a/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.css b/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.css index 088d2df..7fe5dfa 100644 --- a/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.css +++ b/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.css @@ -1,6 +1,6 @@ /*! * bootstrap-tooltip-custom-class - * v1.0.0 + * v1.0.2 * Extends Bootstrap Tooltip plugin by adding custom classes. * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme * License: MIT diff --git a/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.min.css b/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.min.css index 23846d3..42606c3 100644 --- a/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.min.css +++ b/bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.min.css @@ -1,6 +1,6 @@ /*! * bootstrap-tooltip-custom-class - * v1.0.0 + * v1.0.2 * Extends Bootstrap Tooltip plugin by adding custom classes. * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme * License: MIT diff --git a/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.js b/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.js index 12a5b5e..ef0c2bc 100644 --- a/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.js +++ b/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.js @@ -1,3 +1,12 @@ +/*! + * bootstrap-tooltip-custom-class + * v1.0.2 + * Extends Bootstrap Tooltip plugin by adding custom classes. + * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme + * License: MIT + */ + + (function($) { if (typeof $.fn.tooltip.Constructor === 'undefined') { @@ -6,7 +15,6 @@ var Tooltip = $.fn.tooltip.Constructor; - // add customClass option to Bootstrap Tooltip $.extend( Tooltip.Default, { customClass: '' }); @@ -15,8 +23,7 @@ Tooltip.prototype.show = function () { - // invoke parent method - _show.apply(this,Array.prototype.slice.apply(arguments)); + _show.apply(this); if ( this.config.customClass ) { var tip = this.getTipElement(); diff --git a/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.min.js b/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.min.js index 0c044f9..8ffe6da 100644 --- a/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.min.js +++ b/bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.min.js @@ -1 +1,10 @@ -!function(o){if(void 0===o.fn.tooltip.Constructor)throw new Error("Bootstrap Tooltip must be included first!");var t=o.fn.tooltip.Constructor;o.extend(t.Default,{customClass:""});var s=t.prototype.show;t.prototype.show=function(){if(s.apply(this,Array.prototype.slice.apply(arguments)),this.config.customClass){var t=this.getTipElement();o(t).addClass(this.config.customClass)}}}(window.jQuery); \ No newline at end of file +/*! + * bootstrap-tooltip-custom-class + * v1.0.2 + * Extends Bootstrap Tooltip plugin by adding custom classes. + * Copyright (c) 2019 Andrei Victor Bulearca - https://github.com/andreivictor/bootstrap-tooltip-custom-class#readme + * License: MIT + */ + + +!function(o){if(void 0===o.fn.tooltip.Constructor)throw new Error("Bootstrap Tooltip must be included first!");var t=o.fn.tooltip.Constructor;o.extend(t.Default,{customClass:""});var s=t.prototype.show;t.prototype.show=function(){if(s.apply(this),this.config.customClass){var t=this.getTipElement();o(t).addClass(this.config.customClass)}}}(window.jQuery); \ No newline at end of file diff --git a/bootstrap-v4/package-lock.json b/bootstrap-v4/package-lock.json index e067a17..e1aadff 100644 --- a/bootstrap-v4/package-lock.json +++ b/bootstrap-v4/package-lock.json @@ -1,6 +1,6 @@ { "name": "bootstrap-tooltip-custom-class", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/bootstrap-v4/src/js/bootstrap-tooltip-custom-class.js b/bootstrap-v4/src/js/bootstrap-tooltip-custom-class.js index 12a5b5e..f68c147 100644 --- a/bootstrap-v4/src/js/bootstrap-tooltip-custom-class.js +++ b/bootstrap-v4/src/js/bootstrap-tooltip-custom-class.js @@ -6,7 +6,6 @@ var Tooltip = $.fn.tooltip.Constructor; - // add customClass option to Bootstrap Tooltip $.extend( Tooltip.Default, { customClass: '' }); @@ -15,8 +14,7 @@ Tooltip.prototype.show = function () { - // invoke parent method - _show.apply(this,Array.prototype.slice.apply(arguments)); + _show.apply(this); if ( this.config.customClass ) { var tip = this.getTipElement(); diff --git a/grunt/usebanner.js b/grunt/usebanner.js index 3242c05..8095251 100644 --- a/grunt/usebanner.js +++ b/grunt/usebanner.js @@ -10,7 +10,7 @@ Object.keys(projectMap).forEach(function (project) { files: { src: [ `${projectMap[project]}/dist/css/*.css`, - `${projectMap[project]}/dist/css/*.js` + `${projectMap[project]}/dist/js/*.js` ] } }