-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
1 lines (1 loc) · 1.86 KB
/
app.js
1
!function(){"use strict";var e="undefined"==typeof global?self:global;if("function"!=typeof e.require){var r={},t={},n={},i={}.hasOwnProperty,o=/^\.\.?(\/|$)/,a=function(e,r){for(var t,n=[],i=(o.test(r)?e+"/"+r:r).split("/"),a=0,l=i.length;a<l;a++)t=i[a],".."===t?n.pop():"."!==t&&""!==t&&n.push(t);return n.join("/")},l=function(e){return e.split("/").slice(0,-1).join("/")},u=function(r){return function(t){var n=a(l(r),t);return e.require(n,r)}},c=function(e,r){var n=_&&_.createHot(e),i={id:e,exports:{},hot:n};return t[e]=i,r(i.exports,u(e),i),i.exports},s=function(e){return n[e]?s(n[e]):e},f=function(e,r){return s(a(l(e),r))},d=function(e,n){null==n&&(n="/");var o=s(e);if(i.call(t,o))return t[o].exports;if(i.call(r,o))return c(o,r[o]);throw new Error("Cannot find module '"+e+"' from '"+n+"'")};d.alias=function(e,r){n[r]=e};var p=/\.[^.\/]+$/,v=/\/index(\.[^\/]+)?$/,h=function(e){if(p.test(e)){var r=e.replace(p,"");i.call(n,r)&&n[r].replace(p,"")!==r+"/index"||(n[r]=e)}if(v.test(e)){var t=e.replace(v,"");i.call(n,t)||(n[t]=e)}};d.register=d.define=function(e,n){if(e&&"object"==typeof e)for(var o in e)i.call(e,o)&&d.register(o,e[o]);else r[e]=n,delete t[e],h(e)},d.list=function(){var e=[];for(var t in r)i.call(r,t)&&e.push(t);return e};var _=e._hmr&&new e._hmr(f,d,r,t);d._cache=t,d.hmr=_&&_.wrap,d.brunch=!0,e.require=d}}(),function(){"undefined"==typeof window?this:window;require.register("app.js",function(e,r,t){$(document).ready(function(){var e=$(".grid").imagesLoaded(function(){e.isotope({percentPosition:!0,itemSelector:".tech",layoutMode:"masonry",masonry:{columnWidth:".grid-sizer"}})}),r=$(".button[data-filter]").on("click",function(){var t=$(this);return r.addClass("alt").removeClass("special"),t.removeClass("alt").addClass("special"),e.isotope({filter:t.attr("data-filter")}),!1})})}),require.register("___globals___",function(e,r,t){})}(),require("___globals___");