diff options
author | Chris Rebert <code@chrisrebert.com> | 2015-10-10 07:03:43 +0300 |
---|---|---|
committer | Chris Rebert <code@chrisrebert.com> | 2015-10-10 07:03:57 +0300 |
commit | b74536fa8cd5081c59ecd4c63728a7eba00efa2f (patch) | |
tree | d3a215ac8287d5775ae098ac42016dfb051f1df9 /js/dist/popover.js | |
parent | c989fcc857fb2318d5d62e53178cc0b223d4d708 (diff) |
grunt dist
Diffstat (limited to 'js/dist/popover.js')
-rw-r--r-- | js/dist/popover.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/dist/popover.js b/js/dist/popover.js index baf36aff87..4675ed6a3d 100644 --- a/js/dist/popover.js +++ b/js/dist/popover.js @@ -139,6 +139,9 @@ var Popover = (function ($) { } if (typeof config === 'string') { + if (data[config] === undefined) { + throw new Error('No method named "' + config + '"'); + } data[config](); } }); |