Sticky.prototype.destroy = function()

in book/master_middleman/source/javascripts/waypoints/sticky.js [46:54]


  Sticky.prototype.destroy = function() {
    if (this.$element.parent().element === this.wrapper) {
      this.waypoint.destroy()
      this.$element.removeClass(this.options.stuckClass)
      if (this.options.wrapper) {
        this.$element.unwrap()
      }
    }
  }