Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
disabled minification
  • Loading branch information
d4l3k committed Mar 15, 2017
1 parent 1daa074 commit 3603f27
Show file tree
Hide file tree
Showing 151 changed files with 63,035 additions and 163 deletions.
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -29,7 +29,7 @@
"paper-menu": "PolymerElements/paper-menu",
"paper-scroll-header-panel": "PolymerElements/paper-scroll-header-panel",
"paper-toolbar": "PolymerElements/paper-toolbar",
"polymer": "Polymer/polymer",
"polymer": "^1.8.1",
"paper-icon-button": "PolymerElements/paper-icon-button",
"file-upload": "winhowes/file-upload",
"jquery": "",
Expand Down
4 changes: 2 additions & 2 deletions components/index-page/index-page.html
Expand Up @@ -37,7 +37,7 @@
.mountains {
margin: 0 -15px;
}
.mountains object {
.mountains img {
width: 100%;
margin-bottom: calc(100% / -5);
}
Expand Down Expand Up @@ -115,7 +115,7 @@ <h2>WHAT HAPPENS IF I DON'T HAVE A TEAM?</h2>
</div>

<div class="mountains">
<object data="/svg/Mountains.svg" type="image/svg+xml"></object>
<img src="/svg/Mountains.svg">
</div>

<div id="sponsors" class="content">
Expand Down
6 changes: 4 additions & 2 deletions components/schedule-box/schedule-box.html
Expand Up @@ -123,8 +123,7 @@ <h1>SCHEDULE</h1>
<a href="https://calendar.google.com/calendar/embed?src=outerearth.net_2djv2qvtpfu60m7jrcm40oannk@group.calendar.google.com&ctz=America/Los_Angeles">Google Calendar</a>
</div>
</div>
<iron-ajax
auto
<iron-ajax id="ajax"
url="https://www.googleapis.com/calendar/v3/calendars/outerearth.net_2djv2qvtpfu60m7jrcm40oannk@group.calendar.google.com/events?key=%20AIzaSyAdbxoL7d-fe9rFUh898TTCx-ZERREDhKg&timeZone=America/Los_Angeles"
handle-as="json"
last-response="{{gcal}}"></iron-ajax>
Expand All @@ -143,6 +142,9 @@ <h1>SCHEDULE</h1>
value: function() { return {}; },
},
},
attached: function() {
this.$.ajax.generateRequest();
},
map: function(location) {
return "https://campus.fn.lc/#"+(location || '').replace(/ /g, '+');
},
Expand Down
36 changes: 35 additions & 1 deletion docs/404.html
@@ -1 +1,35 @@
<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"><link rel="image_src" href="https://www.nwhacks.io/img/cover.png"><meta property="og:description" content="nwHacks 2017 is the BIGGEST hackathon in Western Canada with over 600 hackers coming from around the region at the University of British Columbia."><meta property="og:image" content="https://www.nwhacks.io/img/cover.png"><meta property="og:title" content="nwHacks 2017"><meta property="og:url" content="https://www.nwhacks.io"><meta property="fb:app_id" content="1656637327959014"><base href="/"><title>nwHacks 2017</title><link rel="icon" type="image/png" href="/favicon.png"><link rel="stylesheet" href="/css/main.css"><script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script><link rel="import" href="components/main-app/main-app.html"><meta http-equiv="X-UA-Compatible" content="IE=edge"></head><body><main-app></main-app><script>(function(b,c,d,e,f,h,j){b.GoogleAnalyticsObject=f,b[f]=b[f]||function(){(b[f].q=b[f].q||[]).push(arguments)},b[f].l=1*new Date,h=c.createElement(d),j=c.getElementsByTagName(d)[0],h.async=1,h.src=e,j.parentNode.insertBefore(h,j)})(window,document,'script','//www.google-analytics.com/analytics.js','ga'),ga('create','UA-72252235-1','auto'),ga('send','pageview');</script></body></html>
<!DOCTYPE html><html><head>
<meta name="viewport" content="width=device-width">
<link rel="image_src" href="https://www.nwhacks.io/img/cover.png">
<meta property="og:description" content="nwHacks 2017 is the BIGGEST hackathon in Western Canada with over 600 hackers coming from around the region at the University of British Columbia.">
<meta property="og:image" content="https://www.nwhacks.io/img/cover.png">
<meta property="og:title" content="nwHacks 2017">
<meta property="og:url" content="https://www.nwhacks.io">
<meta property="fb:app_id" content="1656637327959014">
<base href="/">
<title>nwHacks 2017</title>

<link rel="icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" href="/css/main.css">

<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>

<link rel="import" href="components/main-app/main-app.html">

<meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body>
<main-app></main-app>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-72252235-1', 'auto');
ga('send', 'pageview');
</script>


</body></html>
2 changes: 1 addition & 1 deletion docs/bower.json
Expand Up @@ -29,7 +29,7 @@
"paper-menu": "PolymerElements/paper-menu",
"paper-scroll-header-panel": "PolymerElements/paper-scroll-header-panel",
"paper-toolbar": "PolymerElements/paper-toolbar",
"polymer": "Polymer/polymer",
"polymer": "^1.8.1",
"paper-icon-button": "PolymerElements/paper-icon-button",
"file-upload": "winhowes/file-upload",
"jquery": "",
Expand Down
@@ -1 +1,72 @@
<html><head><link rel="import" href="../polymer/polymer.html"><script>(function(){'use strict';function a(){for(var c=0;c<b.length;++c)b[c].refreshNetworkStatus()}var b=[];window.addEventListener('online',a),window.addEventListener('offline',a),Polymer.AppNetworkStatusBehavior={properties:{online:{type:Boolean,readOnly:!0,notify:!0,value:function(){return window.navigator.onLine}}},attached:function(){b.push(this),this.refreshNetworkStatus()},detached:function(){var c=b.indexOf(this);0>c||b.splice(c,1)},refreshNetworkStatus:function(){this._setOnline(window.navigator.onLine)}}})();</script></head><body></body></html>
<!--
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
--><html><head><link rel="import" href="../polymer/polymer.html">
<script>
(function() {
'use strict';

var networkStatusSubscribers = [];

function notifySubscribers() {
for (var i = 0; i < networkStatusSubscribers.length; ++i) {
networkStatusSubscribers[i].refreshNetworkStatus();
}
}

window.addEventListener('online', notifySubscribers);
window.addEventListener('offline', notifySubscribers);

/**
* `Polymer.appNetworkStatusBehavior` tracks the status of whether the browser
* is online or offline. True if the browser is online, and false if the browser is
* offline matching the HTML browser state spec.
*
* @polymerBehavior
*/
Polymer.AppNetworkStatusBehavior = {
properties: {
/**
* True if the browser is online, and false if the browser is offline
* matching the HTML browser state spec.
*
* @type {Boolean}
*/
online: {
type: Boolean,
readOnly: true,
notify: true,
value: function() {
return window.navigator.onLine;
}
}
},

attached: function() {
networkStatusSubscribers.push(this);
this.refreshNetworkStatus();
},

detached: function() {
var index = networkStatusSubscribers.indexOf(this);
if (index < 0) {
return;
}
networkStatusSubscribers.splice(index, 1);
},

/**
* Updates the `online` property to reflect the browser connection status.
*/
refreshNetworkStatus: function() {
this._setOnline(window.navigator.onLine);
}
};
})();
</script>
</head><body></body></html>

0 comments on commit 3603f27

Please sign in to comment.