This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 4; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUI().use( | |
'anim', | |
function(A) { | |
A.all('.animate-scroll').on( | |
'click', | |
function(event) { | |
event.preventDefault(); | |
var section = A.one(event.currentTarget.get('hash')); | |
var scrollTo = section.get('offsetTop'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUI().use( | |
'aui-base', | |
function(A) { | |
var WIN = A.getWin(); | |
var onScreenHelperNode = A.all('.on-screen-helper'); | |
var updateOnScreen = function() { | |
var currentScrollPos = WIN.get('docScrollY'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUI().use( | |
'aui-base', | |
function(A) { | |
var popClicks = A.all('.pop-click'); | |
var popClickHandle; | |
var togglePopClick = function(event) { | |
event.stopPropagation(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUI().use( | |
'aui-base', | |
function(A) { | |
var WIN = A.getWin(); | |
var lazyLoadNode = A.all('.lazy-load'); | |
var lazyLoad = function() { | |
var currentScrollPos = WIN.get('docScrollY'); |