ender-bootstrap-popover
Advanced tools
+4
-4
@@ -16,8 +16,8 @@ { | ||
| "dependencies": { | ||
| "ender-bootstrap-base": "2.0.4", | ||
| "ender-bootstrap-transition": "2.0.4", | ||
| "ender-bootstrap-tooltip": "2.0.4" | ||
| "ender-bootstrap-base": "2.2.0", | ||
| "ender-bootstrap-transition": "2.2.0", | ||
| "ender-bootstrap-tooltip": "2.2.0" | ||
| }, | ||
| "main": "popover.js", | ||
| "version": "2.0.4" | ||
| "version": "2.2.0" | ||
| } |
+9
-4
| /* =========================================================== | ||
| * bootstrap-popover.js v2.0.4 | ||
| * bootstrap-popover.js v2.2.0 | ||
| * http://twitter.github.com/bootstrap/javascript.html#popovers | ||
@@ -29,3 +29,3 @@ * =========================================================== | ||
| var Popover = function ( element, options ) { | ||
| var Popover = function (element, options) { | ||
| this.init('popover', element, options) | ||
@@ -47,4 +47,4 @@ } | ||
| $tip.find('.popover-title')[this.isHTML(title) ? 'html' : 'text'](title) | ||
| $tip.find('.popover-content > *')[this.isHTML(content) ? 'html' : 'text'](content) | ||
| $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) | ||
| $tip.find('.popover-content > *')[this.options.html ? 'html' : 'text'](content) | ||
@@ -76,2 +76,6 @@ $tip.removeClass('fade top bottom left right in') | ||
| , destroy: function () { | ||
| this.hide().$element.off('.' + this.type).removeData(this.type) | ||
| } | ||
| }) | ||
@@ -97,2 +101,3 @@ | ||
| placement: 'right' | ||
| , trigger: 'click' | ||
| , content: '' | ||
@@ -99,0 +104,0 @@ , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>' |
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
3526
3.49%76
5.56%0
-100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated