universal 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 903bbd2b885a0a8d6166b03fc6da37727eea76a829c4456089f79997736a1398
4
- data.tar.gz: df09b9e7e5c23cd621fc0738c3617825cedd03a313e047e4508fe28b698196c3
3
+ metadata.gz: 2a9ddb0b8f5203e9a38d2ae4ff6c3de95b7492fb4509b652ffb512f90fa97734
4
+ data.tar.gz: ffc631b2afd7b0f9b98810a27f8a135951f56e73011db7f92dd455622a73a481
5
5
  SHA512:
6
- metadata.gz: dcb8d762ebd2f85572eef9d9f63b575cc85bc6a9b99d6b1bcc87186c5cd16b548d5e30cdc97130d2e9931810f82fe63e75b2d7ef2f9660b01e10a6f1a848a6eb
7
- data.tar.gz: 53472e1dd250f99025db3e8f89698d77749b5ae71da74f10fc547ad4b11a852d21b54c27938ad400425d4aac1e6e98d0ab36d96e1763f5eace1d7f31d1854593
6
+ metadata.gz: ff8610842e204c77612be0b4bf5fbd081cb1db1e8d8b654fd9d4ffd64eca0c34adfe8ef624999c5a466b2556f9a48e3cb40f11a63fc778309508ee1e60ba0cb3
7
+ data.tar.gz: e8aed1b4b7237a6135909d38f995cfe38ed6890176bed52c5eee4e6d9e3aa05c29a1e41b1bf6431ce4bb39c933aea5da2c9a84b62859d06d3e267002ef2804ed
@@ -26,7 +26,7 @@
26
26
  <!-- /.col-md-3 -->
27
27
 
28
28
  <div class="col-md-6 col-sm-12">
29
- <form action="https://formspree.io/{{ site.email }}"method="POST">
29
+ <form action="https://formspree.io/{{ site.email }}" method="POST">
30
30
  <div class="row">
31
31
  <div class="col-md-6">
32
32
  <div class="form-group">
@@ -70,7 +70,6 @@
70
70
 
71
71
  <div class="col-md-3 col-sm-6"></div>
72
72
 
73
- </div>
74
73
  <!-- /.col-md-3 -->
75
74
 
76
75
  <!-- /.container -->
data/_includes/head.html CHANGED
@@ -15,8 +15,8 @@
15
15
  <link rel="preload" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
16
16
  <link rel="preload" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
17
17
 
18
- <!-- Css animations -->
19
- <link href="assets/css/animate.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
18
+ <!-- Css animations -->
19
+ <link href="assets/css/animate.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
20
20
 
21
21
  <!-- Theme stylesheet, if possible do not edit this stylesheet -->
22
22
  <link href="assets/css/style.blue.css" rel="preload" id="theme-stylesheet" as="style" onload="this.onload=null;this.rel='stylesheet'">
@@ -44,5 +44,115 @@
44
44
  <!-- owl carousel css -->
45
45
  <link href="assets/css/owl.carousel.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
46
46
  <link href="assets/css/owl.theme.css" rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
47
+ <noscript>
48
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
49
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
50
+ <link rel="stylesheet" href="assets/css/animate.css">
51
+ <link rel="stylesheet" href="assets/css/custom.css">
52
+ <link rel="stylesheet" href="assets/css/owl.carousel.css">
53
+ <link rel="stylesheet" href="assets/css/owl.theme.css">
54
+ <link rel="stylesheet" href="assets/css/style.blue.css">
55
+ </noscript>
56
+ <script>
57
+ (function( w ){
58
+ "use strict";
59
+ // rel=preload support test
60
+ if( !w.loadCSS ){
61
+ w.loadCSS = function(){};
62
+ }
63
+ // define on the loadCSS obj
64
+ var rp = loadCSS.relpreload = {};
65
+ // rel=preload feature support test
66
+ // runs once and returns a function for compat purposes
67
+ rp.support = (function(){
68
+ var ret;
69
+ try {
70
+ ret = w.document.createElement( "link" ).relList.supports( "preload" );
71
+ } catch (e) {
72
+ ret = false;
73
+ }
74
+ return function(){
75
+ return ret;
76
+ };
77
+ })();
78
+
79
+ // if preload isn't supported, get an asynchronous load by using a non-matching media attribute
80
+ // then change that media back to its intended value on load
81
+ rp.bindMediaToggle = function( link ){
82
+ // remember existing media attr for ultimate state, or default to 'all'
83
+ var finalMedia = link.media || "all";
84
+
85
+ function enableStylesheet(){
86
+ link.media = finalMedia;
87
+ }
88
+
89
+ // bind load handlers to enable media
90
+ if( link.addEventListener ){
91
+ link.addEventListener( "load", enableStylesheet );
92
+ } else if( link.attachEvent ){
93
+ link.attachEvent( "onload", enableStylesheet );
94
+ }
95
+
96
+ // Set rel and non-applicable media type to start an async request
97
+ // note: timeout allows this to happen async to let rendering continue in IE
98
+ setTimeout(function(){
99
+ link.rel = "stylesheet";
100
+ link.media = "only x";
101
+ });
102
+ // also enable media after 3 seconds,
103
+ // which will catch very old browsers (android 2.x, old firefox) that don't support onload on link
104
+ setTimeout( enableStylesheet, 3000 );
105
+ };
106
+
107
+ // loop through link elements in DOM
108
+ rp.poly = function(){
109
+ // double check this to prevent external calls from running
110
+ if( rp.support() ){
111
+ return;
112
+ }
113
+ var links = w.document.getElementsByTagName( "link" );
114
+ for( var i = 0; i < links.length; i++ ){
115
+ var link = links[ i ];
116
+ // qualify links to those with rel=preload and as=style attrs
117
+ if( link.rel === "preload" && link.getAttribute( "as" ) === "style" && !link.getAttribute( "data-loadcss" ) ){
118
+ // prevent rerunning on link
119
+ link.setAttribute( "data-loadcss", true );
120
+ // bind listeners to toggle media back
121
+ rp.bindMediaToggle( link );
122
+ }
123
+ }
124
+ };
125
+
126
+ // if unsupported, run the polyfill
127
+ if( !rp.support() ){
128
+ // run once at least
129
+ rp.poly();
130
+
131
+ // rerun poly on an interval until onload
132
+ var run = w.setInterval( rp.poly, 500 );
133
+ if( w.addEventListener ){
134
+ w.addEventListener( "load", function(){
135
+ rp.poly();
136
+ w.clearInterval( run );
137
+ } );
138
+ } else if( w.attachEvent ){
139
+ w.attachEvent( "onload", function(){
140
+ rp.poly();
141
+ w.clearInterval( run );
142
+ } );
143
+ }
144
+ }
145
+
146
+
147
+ // commonjs
148
+ if( typeof exports !== "undefined" ){
149
+ exports.loadCSS = loadCSS;
150
+ }
151
+ else {
152
+ w.loadCSS = loadCSS;
153
+ }
154
+ }( typeof global !== "undefined" ? global : this ) );
155
+
156
+ </script>
47
157
 
48
158
  </head>
@@ -1,4 +1,4 @@
1
- var stripe = Stripe('pk_test_NIFiGhJBpoH8kDhbdLTx7TPv');
1
+ var stripe = Stripe('{{ site.stripeKey }}');
2
2
  var elements = stripe.elements();
3
3
 
4
4
  var card = elements.create('card', {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: universal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondrej Svestka