Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap-v3/dist/css/bootstrap-tooltip-custom-class.css
Original file line number Diff line number Diff line change
@@ -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
Expand Down

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

11 changes: 10 additions & 1 deletion bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.js
Original file line number Diff line number Diff line change
@@ -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') {
Expand All @@ -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();
Expand Down
11 changes: 10 additions & 1 deletion bootstrap-v3/dist/js/bootstrap-tooltip-custom-class.min.js
Original file line number Diff line number Diff line change
@@ -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);
/*!
* 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);
2 changes: 1 addition & 1 deletion bootstrap-v3/src/js/bootstrap-tooltip-custom-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down

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

13 changes: 10 additions & 3 deletions bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.js
Original file line number Diff line number Diff line change
@@ -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') {
Expand All @@ -6,7 +15,6 @@

var Tooltip = $.fn.tooltip.Constructor;

// add customClass option to Bootstrap Tooltip
$.extend( Tooltip.Default, {
customClass: ''
});
Expand All @@ -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();
Expand Down
11 changes: 10 additions & 1 deletion bootstrap-v4-alpha/dist/js/bootstrap-tooltip-custom-class.min.js
Original file line number Diff line number Diff line change
@@ -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);
/*!
* 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);
2 changes: 1 addition & 1 deletion bootstrap-v4-alpha/package-lock.json

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

4 changes: 1 addition & 3 deletions bootstrap-v4-alpha/src/js/bootstrap-tooltip-custom-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

var Tooltip = $.fn.tooltip.Constructor;

// add customClass option to Bootstrap Tooltip
$.extend( Tooltip.Default, {
customClass: ''
});
Expand All @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion bootstrap-v4/dist/css/bootstrap-tooltip-custom-class.css
Original file line number Diff line number Diff line change
@@ -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
Expand Down

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

13 changes: 10 additions & 3 deletions bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.js
Original file line number Diff line number Diff line change
@@ -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') {
Expand All @@ -6,7 +15,6 @@

var Tooltip = $.fn.tooltip.Constructor;

// add customClass option to Bootstrap Tooltip
$.extend( Tooltip.Default, {
customClass: ''
});
Expand All @@ -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();
Expand Down
11 changes: 10 additions & 1 deletion bootstrap-v4/dist/js/bootstrap-tooltip-custom-class.min.js
Original file line number Diff line number Diff line change
@@ -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);
/*!
* 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);
2 changes: 1 addition & 1 deletion bootstrap-v4/package-lock.json

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

4 changes: 1 addition & 3 deletions bootstrap-v4/src/js/bootstrap-tooltip-custom-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

var Tooltip = $.fn.tooltip.Constructor;

// add customClass option to Bootstrap Tooltip
$.extend( Tooltip.Default, {
customClass: ''
});
Expand All @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion grunt/usebanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
]
}
}
Expand Down