Skip to content

Commit a06a08a

Browse files
author
Manuel Alvarez Alvarez
committed
Fixed jshint errors due to too long lines on the attachBody adapter
1 parent eae4d01 commit a06a08a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/js/select2/dropdown/attachBody.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ define([
8080
this.$dropdownContainer.detach();
8181
};
8282

83-
AttachBody.prototype._attachPositioningHandler = function (decorated, container) {
83+
AttachBody.prototype._attachPositioningHandler =
84+
function (decorated, container) {
8485
var self = this;
8586

8687
var scrollEvent = 'scroll.select2.' + container.id;
@@ -107,7 +108,8 @@ define([
107108
});
108109
};
109110

110-
AttachBody.prototype._detachPositioningHandler = function (decorated, container) {
111+
AttachBody.prototype._detachPositioningHandler =
112+
function (decorated, container) {
111113
var scrollEvent = 'scroll.select2.' + container.id;
112114
var resizeEvent = 'resize.select2.' + container.id;
113115
var orientationEvent = 'orientationchange.select2.' + container.id;

0 commit comments

Comments
 (0)