]> nmode's Git Repositories - Rnaught/blobdiff - deps/headroom-0.11.0/jQuery.headroom.min.js
Deploying to gh-pages from @ MI2YorkU/Rnaught@042a3cc17d711ecb49b828c7d8fdf8383db9bea9 🚀
[Rnaught] / deps / headroom-0.11.0 / jQuery.headroom.min.js
diff --git a/deps/headroom-0.11.0/jQuery.headroom.min.js b/deps/headroom-0.11.0/jQuery.headroom.min.js
new file mode 100644 (file)
index 0000000..17f70c9
--- /dev/null
@@ -0,0 +1,7 @@
+/*!
+ * headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
+ * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
+ * License: MIT
+ */
+
+!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);
\ No newline at end of file