-
Notifications
You must be signed in to change notification settings - Fork 111
Conversation
$('body').css | ||
overflow: '' | ||
position: '' | ||
$('[data-toggle="offcanvas"]').bootstrapOffcanvas() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains inconsistent indentation. Expected 4 got 2.
|
||
$(window).on 'resize', -> | ||
$('.navbar-offcanvas.in').each -> | ||
$(@).height('').removeClass 'in' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains inconsistent indentation. Expected 4 got 2.
elements.each -> new Offcanvas($(this)) | ||
|
||
$(window).on 'resize', -> | ||
$('.navbar-offcanvas.in').each -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains inconsistent indentation. Expected 4 got 2.
return asSupport.length? | ||
|
||
$.fn.bootstrapOffcanvas = -> | ||
elements = this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains inconsistent indentation. Expected 4 got 2.
# | ||
# Checks if transform3d is available for us to use | ||
_transformCheck: => | ||
el = document.createElement 'div' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains inconsistent indentation. Expected 4 got 2.
# Private: Transform checker | ||
# | ||
# Checks if transform3d is available for us to use | ||
_transformCheck: => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary fat arrow.
|
||
self = this | ||
@element.on 'click', (e) -> | ||
if !self.element.hasClass 'js-offcanvas-has-events' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains inconsistent indentation. Expected 4 got 2.
Sorry! I made a mistake. |
No description provided.