Comparing version 0.36.0 to 0.37.0
{ | ||
"name": "garden", | ||
"version": "0.36.0", | ||
"version": "0.37.0", | ||
"description": "A styleguide based on Leroy Merlin needs", | ||
@@ -5,0 +5,0 @@ "main": "dist/js/garden.min.js", |
@@ -12,6 +12,6 @@ import Popper from 'popper.js' | ||
constructor (element, options) { | ||
constructor (element, options = {}) { | ||
this.$element = $(element) | ||
this.$target = this._getTarget() | ||
this.options = $.extend(DEFAULTS, (options || {})) | ||
this.options = $.extend({}, DEFAULTS, options) | ||
} | ||
@@ -41,3 +41,3 @@ | ||
if (!$.data(this, NAME)) { | ||
$.data(this, NAME, new Tooltip(this, $(this).data(NAME)).init()) | ||
$.data(this, NAME, new Tooltip(this, $(this).data()).init()) | ||
} | ||
@@ -44,0 +44,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
433736
5325