The following debugging information was generated by Atom Beautify
on Thu Feb 02 2017 10:42:43 GMT-0600 (CST)
.
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
(function(){ | |
// all your code here | |
var foo = function() {}; | |
window.onload = foo; | |
// ... | |
})(); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Sample Page</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<style> | |
/* Put Styles Here */ |
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
(function($) { | |
"use strict"; | |
var isMobile = false; | |
var windowWidth = $(window).width(); | |
var mobileCheck = function(width, status) { | |
console.log('width: ' + width); | |
console.log('status: ' + status); | |
if (width >= 768) { |
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
/* Simple PubSub | |
==================================================================================================== */ | |
(function(d) { | |
// the topic/subscription hash | |
var cache = d.c_ || {}; | |
d.publish = function(topic, args) { | |
// summary: |
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
* { | |
box-sizing: border-box; | |
} | |
/* This technique doesn't naturally cause horizontal overflow, but once there is natural vertical overflow, it causes horizontal overflow, so stopping here. */ | |
body { | |
overflow-x: hidden; | |
} | |
img { |
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
.c-search { | |
transition: opacity .5s ease; | |
transition: height .75s ease; | |
position: absolute; | |
display: block; | |
z-index: -999; | |
top: 0; | |
bottom: 0; | |
left: 0; |
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
:root { | |
font-size: calc(1vw + 1vh + .2vmin); | |
} | |
body { | |
background: #111; | |
font: 1rem/1.1 "Montserrat", sans-serif; | |
margin: 0; | |
} | |
section { | |
height: 100%; |
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
html { | |
box-sizing: border-box; | |
} | |
*, *:before, *:after { | |
box-sizing: inherit; | |
} |