code: function (element, options) {
      this.options = $.extend({}, $.fn.affix.defaults, options)
      this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
      this.$element = $(element)
      this.checkPosition()
    }
docs: jshint ;_; /* AFFIX CLASS DEFINITION
  ======================