diff options
author | fat <fat@folders.local> | 2015-05-11 05:45:38 +0300 |
---|---|---|
committer | fat <fat@folders.local> | 2015-05-11 05:45:38 +0300 |
commit | ca9c850ebbfc880dc5021b451ffc9fa12184ff87 (patch) | |
tree | 8db34e73d402c3f71fd2e8c853b7fddf6cee33d6 /js/dist/dropdown.js | |
parent | bbb97a8660639002e70b1786e595ef9171bfecc6 (diff) |
add getters for Version and Default where applicable
add modal my gawd
Diffstat (limited to 'js/dist/dropdown.js')
-rw-r--r-- | js/dist/dropdown.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/js/dist/dropdown.js b/js/dist/dropdown.js index a22e3ce39d..000c59f6b2 100644 --- a/js/dist/dropdown.js +++ b/js/dist/dropdown.js @@ -91,7 +91,7 @@ var Dropdown = (function ($) { $(dropdown).on('click', Dropdown._clearMenus); } - var relatedTarget = { 'relatedTarget': this }; + var relatedTarget = { relatedTarget: this }; var showEvent = $.Event(Event.SHOW, relatedTarget); $(parent).trigger(showEvent); @@ -109,6 +109,14 @@ var Dropdown = (function ($) { return false; } }], [{ + key: 'VERSION', + + // getters + + get: function () { + return VERSION; + } + }, { key: '_jQueryInterface', // static @@ -142,7 +150,7 @@ var Dropdown = (function ($) { for (var i = 0; i < toggles.length; i++) { var _parent = Dropdown._getParentFromElement(toggles[i]); - var relatedTarget = { 'relatedTarget': toggles[i] }; + var relatedTarget = { relatedTarget: toggles[i] }; if (!$(_parent).hasClass(ClassName.OPEN)) { continue; |