diff options
| author | Jacob Thornton <[email protected]> | 2015-08-12 21:17:43 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2015-08-12 21:17:43 -0700 |
| commit | 17ba95c201f16c19e6fd4d6bb36332e742930952 (patch) | |
| tree | 9906b034dd70f35cc4c9126f5440e06d07a98b23 /docs/dist/js/umd/button.js | |
| parent | f2ae3ea04309cabedabf8160c771b6b465c912e6 (diff) | |
| download | bootstrap-17ba95c201f16c19e6fd4d6bb36332e742930952.tar.xz bootstrap-17ba95c201f16c19e6fd4d6bb36332e742930952.zip | |
rebuild stuff
Diffstat (limited to 'docs/dist/js/umd/button.js')
| -rw-r--r-- | docs/dist/js/umd/button.js | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/docs/dist/js/umd/button.js b/docs/dist/js/umd/button.js index 72fa579f1..73eae5ec9 100644 --- a/docs/dist/js/umd/button.js +++ b/docs/dist/js/umd/button.js @@ -55,8 +55,8 @@ }; var Event = { - CLICK_DATA_API: 'click' + EVENT_KEY + '' + DATA_API_KEY, - FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + '' + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + '' + DATA_API_KEY) + CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY, + FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY) }; /** @@ -72,6 +72,14 @@ this._element = element; } + /** + * ------------------------------------------------------------------------ + * Data Api implementation + * ------------------------------------------------------------------------ + */ + + // getters + _createClass(Button, [{ key: 'toggle', @@ -116,11 +124,11 @@ $.removeData(this._element, DATA_KEY); this._element = null; } - }], [{ - key: '_jQueryInterface', // static + }], [{ + key: '_jQueryInterface', value: function _jQueryInterface(config) { return this.each(function () { var data = $(this).data(DATA_KEY); @@ -137,10 +145,7 @@ } }, { key: 'VERSION', - - // getters - - get: function () { + get: function get() { return VERSION; } }]); @@ -148,12 +153,6 @@ return Button; })(); - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) { event.preventDefault(); |
