]>
nmode's Git Repositories - Rnaught/blob - deps/headroom-0.11.0/jQuery.headroom.min.js
2 * headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
3 * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
7 !function(a
){a
&&(a
.fn
.headroom=function(b
){return this.each(function(){var c
=a(this),d
=c
.data("headroom"),e
="object"==typeof b
&&b
;e
=a
.extend(!0,{},Headroom
.options
,e
),d
||(d
=new Headroom(this,e
),d
.init(),c
.data("headroom",d
)),"string"==typeof b
&&(d
[b
](),"destroy"===b
&&c
.removeData("headroom"))})},a("[data-headroom]").each(function(){var b
=a(this);b
.headroom(b
.data())}))}(window
.Zepto
||window
.jQuery
);