switch to minified js
This commit is contained in:
@@ -115,8 +115,10 @@
|
||||
</div>
|
||||
<div class="col-sm-8 col-sm-offset-1">
|
||||
<div class="margin-b-60">
|
||||
<p>I'm Daniel Tam, a systems administrator and an application developer. From Windows to Linux systems or from C to GoLang, I will always set out to use the best tools for each job.</p>
|
||||
<p>Leveraging and combining my diverse skills in order to be efficient and proficient in multiple areas, I will be able to produce impeccable results no matter the problem.</p>
|
||||
<p>I'm Daniel Tam, a systems administrator and an application developer. I have a variety of technology related skills
|
||||
from administration in Windows or Linux systems to application development in multiple languages such as C or Go.</p>
|
||||
<p>Leveraging and combining my diverse skill set in order to be efficient and proficient in multiple areas, I will be
|
||||
always be able to produce impeccable results.</p>
|
||||
</div>
|
||||
|
||||
<!-- Progress Box -->
|
||||
@@ -489,7 +491,7 @@
|
||||
<script src="vendor/masonry/imagesloaded.pkgd.min.js" type="text/javascript"></script>
|
||||
|
||||
<!-- PAGE LEVEL SCRIPTS -->
|
||||
<script src="js/layout.js" type="text/javascript"></script>
|
||||
<script src="js/layout.min.js" type="text/javascript"></script>
|
||||
<script src="js/components/progress-bar.min.js" type="text/javascript"></script>
|
||||
<script src="js/components/masonry.min.js" type="text/javascript"></script>
|
||||
<script src="js/components/wow.min.js" type="text/javascript"></script>
|
||||
|
2
js/layout.min.js
vendored
2
js/layout.min.js
vendored
@@ -1 +1 @@
|
||||
var Layout=function(){var t=function(){$(window).scrollTop()>60?$("body").addClass("page-on-scroll"):$("body").removeClass("page-on-scroll")},o=function(){$(".navbar").offset().top>150&&$(".navbar-fixed-top").addClass("top-nav-collapse"),$(window).scroll(function(){$(".navbar").offset().top>150?$(".navbar-fixed-top").addClass("top-nav-collapse"):$(".navbar-fixed-top").removeClass("top-nav-collapse")});var t=0;t=$(".navbar-fixed-top").height()-20,$(".js_nav-item a").bind("click",function(o){var a=$($(this).attr("href")).offset().top;$("html, body").stop().animate({scrollTop:a-t},600),o.preventDefault()});$("body").scrollspy({target:".navbar-fixed-top",offset:t+2});$(window).scroll(function(){$(".navbar-collapse.in").collapse("hide")})},a=function(){var t=$(".carousel .item"),o=$(window).height();t.eq(0).addClass("active"),t.height(o),t.addClass("full-screen"),$(".carousel img").each(function(){var t=$(this).attr("src"),o=$(this).attr("data-color");$(this).parent().css({"background-image":"url("+t+")","background-color":o}),$(this).remove()}),$(window).on("resize",function(){o=$(window).height(),t.height(o)})},e=function(){$("[data-auto-height]").each(function(){var t=$(this),o=$("[data-height]",t),a=0,e=t.attr("data-mode"),i=parseInt(t.attr("data-offset")?t.attr("data-offset"):0);o.each(function(){"height"==$(this).attr("data-height")?$(this).css("height",""):$(this).css("min-height","");var t="base-height"==e?$(this).outerHeight():$(this).outerHeight(!0);t>a&&(a=t)}),a+=i,o.each(function(){"height"==$(this).attr("data-height")?$(this).css("height",a):$(this).css("min-height",a)}),t.attr("data-related")&&$(t.attr("data-related")).css("height",t.height())})},i=function(){var t=$(".work-popup-overlay"),o=$(".work-popup-close"),a=$(".work-popup-trigger");a.on("click",function(){$(this).find(".work-popup-overlay").removeClass("work-popup-overlay-show"),$(this).find(".work-popup-overlay").addClass("work-popup-overlay-show")}),o.on("click",function(o){o.stopPropagation(),t.removeClass("work-popup-overlay-show")})};return{init:function(){t(),o(),a(),e(),i(),$(window).scroll(function(){t()})},getViewPort:function(){var t=window,o="inner";return"innerWidth"in window||(o="client",t=document.documentElement||document.body),{width:t[o+"Width"],height:t[o+"Height"]}}}}();$(document).ready(function(){Layout.init()});
|
||||
var Layout=function(){var a=function(){$(window).scrollTop()>60?$("body").addClass("page-on-scroll"):$("body").removeClass("page-on-scroll")},b=function(){$(".navbar").offset().top>150&&$(".navbar-fixed-top").addClass("top-nav-collapse"),$(window).scroll(function(){$(".navbar").offset().top>150?$(".navbar-fixed-top").addClass("top-nav-collapse"):$(".navbar-fixed-top").removeClass("top-nav-collapse")});var a=0;a=$(".navbar-fixed-top").height()-20,$(".js_nav-item a").bind("click",function(b){var c=$($(this).attr("href")).offset().top;$("html, body").stop().animate({scrollTop:c-a},600),b.preventDefault()}),$("body").scrollspy({target:".navbar-fixed-top",offset:a+2}),$(window).scroll(function(){$(".navbar-collapse.in").collapse("hide")})},c=function(){var a=$(".carousel .item"),b=$(window).height();a.eq(0).addClass("active"),a.height(b),a.addClass("full-screen"),$(".carousel img").each(function(){var a=$(this).attr("src"),b=$(this).attr("data-color");$(this).parent().css({"background-image":"url("+a+")","background-color":b}),$(this).remove()}),$(window).on("resize",function(){b=$(window).height(),a.height(b)})},d=function(){$("[data-auto-height]").each(function(){var a=$(this),b=$("[data-height]",a),c=0,e=a.attr("data-mode"),d=parseInt(a.attr("data-offset")?a.attr("data-offset"):0);b.each(function(){"height"==$(this).attr("data-height")?$(this).css("height",""):$(this).css("min-height","");var a="base-height"==e?$(this).outerHeight():$(this).outerHeight(!0);a>c&&(c=a)}),c+=d,b.each(function(){"height"==$(this).attr("data-height")?$(this).css("height",c):$(this).css("min-height",c)}),a.attr("data-related")&&$(a.attr("data-related")).css("height",a.height())})},e=function(){var a=$(".work-popup-overlay"),b=$(".work-popup-close"),c=$(".work-popup-trigger");$(".work-popup-content"),c.on("click",function(){$(this).find(".work-popup-overlay").removeClass("work-popup-overlay-show"),$(this).find(".work-popup-overlay").addClass("work-popup-overlay-show")}),b.on("click",function(b){b.stopPropagation(),a.removeClass("work-popup-overlay-show")}),a.on("click",function(b){b.stopPropagation(),a.removeClass("work-popup-overlay-show")})};return{init:function(){a(),b(),c(),d(),e(),$(window).scroll(function(){a()})},getViewPort:function(){var a=window,b="inner";return"innerWidth"in window||(b="client",a=document.documentElement||document.body),{width:a[b+"Width"],height:a[b+"Height"]}}}}();$(document).ready(function(){Layout.init()})
|
Reference in New Issue
Block a user