diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-08-12 21:24:45 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-08-12 22:22:12 +0300 |
commit | acd19de6a9258056583f479b4b2faa0bec7bfb07 (patch) | |
tree | cdbecfdda0e640c55bdb82b884bb11976efe7218 /js/src | |
parent | 8bb35313b17da1414ca3445a6c821718a4d62bc5 (diff) |
Use ES6 arrow function.
Diffstat (limited to 'js/src')
-rw-r--r-- | js/src/alert.js | 2 | ||||
-rw-r--r-- | js/src/button.js | 2 | ||||
-rw-r--r-- | js/src/carousel.js | 2 | ||||
-rw-r--r-- | js/src/collapse.js | 2 | ||||
-rw-r--r-- | js/src/dropdown.js | 2 | ||||
-rw-r--r-- | js/src/modal.js | 2 | ||||
-rw-r--r-- | js/src/popover.js | 2 | ||||
-rw-r--r-- | js/src/scrollspy.js | 2 | ||||
-rw-r--r-- | js/src/tab.js | 2 | ||||
-rw-r--r-- | js/src/tooltip.js | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/js/src/alert.js b/js/src/alert.js index f39d9d9316..ea5f04ecba 100644 --- a/js/src/alert.js +++ b/js/src/alert.js @@ -172,7 +172,7 @@ const Alert = (($) => { $.fn[NAME] = Alert._jQueryInterface $.fn[NAME].Constructor = Alert - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Alert._jQueryInterface } diff --git a/js/src/button.js b/js/src/button.js index cf181d3fcd..35a9454a5f 100644 --- a/js/src/button.js +++ b/js/src/button.js @@ -164,7 +164,7 @@ const Button = (($) => { $.fn[NAME] = Button._jQueryInterface $.fn[NAME].Constructor = Button - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Button._jQueryInterface } diff --git a/js/src/carousel.js b/js/src/carousel.js index 62af5cdb16..2d7ab0d672 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -509,7 +509,7 @@ const Carousel = (($) => { $.fn[NAME] = Carousel._jQueryInterface $.fn[NAME].Constructor = Carousel - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Carousel._jQueryInterface } diff --git a/js/src/collapse.js b/js/src/collapse.js index 9277420a2f..d3404630a4 100644 --- a/js/src/collapse.js +++ b/js/src/collapse.js @@ -387,7 +387,7 @@ const Collapse = (($) => { $.fn[NAME] = Collapse._jQueryInterface $.fn[NAME].Constructor = Collapse - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Collapse._jQueryInterface } diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 072bce6e32..4656c80af4 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -483,7 +483,7 @@ const Dropdown = (($) => { $.fn[NAME] = Dropdown._jQueryInterface $.fn[NAME].Constructor = Dropdown - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Dropdown._jQueryInterface } diff --git a/js/src/modal.js b/js/src/modal.js index ddcf370b62..6b80d9e38a 100644 --- a/js/src/modal.js +++ b/js/src/modal.js @@ -568,7 +568,7 @@ const Modal = (($) => { $.fn[NAME] = Modal._jQueryInterface $.fn[NAME].Constructor = Modal - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Modal._jQueryInterface } diff --git a/js/src/popover.js b/js/src/popover.js index 9f1e38e666..7bde09570d 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -177,7 +177,7 @@ const Popover = (($) => { $.fn[NAME] = Popover._jQueryInterface $.fn[NAME].Constructor = Popover - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Popover._jQueryInterface } diff --git a/js/src/scrollspy.js b/js/src/scrollspy.js index 5cbffc650c..c779c51dd7 100644 --- a/js/src/scrollspy.js +++ b/js/src/scrollspy.js @@ -321,7 +321,7 @@ const ScrollSpy = (($) => { $.fn[NAME] = ScrollSpy._jQueryInterface $.fn[NAME].Constructor = ScrollSpy - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return ScrollSpy._jQueryInterface } diff --git a/js/src/tab.js b/js/src/tab.js index a91b088de0..29531802a7 100644 --- a/js/src/tab.js +++ b/js/src/tab.js @@ -253,7 +253,7 @@ const Tab = (($) => { $.fn[NAME] = Tab._jQueryInterface $.fn[NAME].Constructor = Tab - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Tab._jQueryInterface } diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 72d9ba1779..572583cd69 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -714,7 +714,7 @@ const Tooltip = (($) => { $.fn[NAME] = Tooltip._jQueryInterface $.fn[NAME].Constructor = Tooltip - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Tooltip._jQueryInterface } |