jekyll-theme-tou-dai 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/index.js +10 -11
- data/assets/js/main.bundle.js +219 -222
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddcf20a5ea58d82acbdb38ec0b6ad81cae662382
|
4
|
+
data.tar.gz: 9de083b28db51a4996d51aca50163b33deda18bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9975fd4e75d5e8e9f4ec3c1204bd3d13d7fb8ac629038cafd0fe924f85dc1c52db62f68939ec457cd7fd04d1dad944d69686f5d875c5f866b39580fec553d408
|
7
|
+
data.tar.gz: e6d5368ff4704aac635d9feb0fb439dd166445b806de09c7edf275a71a77eecb7ffd8ea6c84c36e8b8d932003b63b3a054c4e0a0eb1060601c8c5ba8d5ebfb8d
|
data/assets/js/index.js
CHANGED
@@ -3,17 +3,15 @@ import jump from 'jump.js';
|
|
3
3
|
|
4
4
|
// import easeInOutQuad from './easing';
|
5
5
|
|
6
|
-
import * as ez from 'ez.js';
|
7
|
-
|
8
6
|
import easeInOutQuint from 'ez.js';
|
9
7
|
|
10
|
-
for (const key of Object.keys(ez)) {
|
11
|
-
|
12
|
-
|
13
|
-
}
|
8
|
+
// for (const key of Object.keys(ez)) {
|
9
|
+
// console.log("key", key);
|
10
|
+
// console.log(ez[key](100, 0, 10, 1000));
|
11
|
+
// }
|
14
12
|
const ready = require('document-ready');
|
15
13
|
ready(() => {
|
16
|
-
console.log('DOM is ready');
|
14
|
+
// console.log('DOM is ready');
|
17
15
|
// We get all h2 elements
|
18
16
|
const list = document.getElementsByClassName('jump-link');
|
19
17
|
// Get the menu ul
|
@@ -22,17 +20,18 @@ ready(() => {
|
|
22
20
|
for (let i = 0; i < list.length; i++) {
|
23
21
|
const element = list.item(i); // Isolate
|
24
22
|
let target = element.getAttribute('href');
|
25
|
-
console.log(target);
|
23
|
+
// console.log(target);
|
26
24
|
element.addEventListener('click', e => {
|
27
25
|
e.preventDefault();
|
28
26
|
jump(target, {
|
29
27
|
duration: 1500,
|
30
28
|
callback: () => {
|
31
|
-
console.log('did the jump!');
|
29
|
+
// console.log('did the jump!');
|
32
30
|
},
|
33
31
|
easing: easeInOutQuint,
|
34
32
|
a11y: false
|
35
|
-
})
|
33
|
+
});
|
34
|
+
}, false);
|
36
35
|
}
|
37
36
|
}
|
38
|
-
});
|
37
|
+
});
|
data/assets/js/main.bundle.js
CHANGED
@@ -60,222 +60,17 @@
|
|
60
60
|
/******/ __webpack_require__.p = "";
|
61
61
|
/******/
|
62
62
|
/******/ // Load entry module and return exports
|
63
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
63
|
+
/******/ return __webpack_require__(__webpack_require__.s = 0);
|
64
64
|
/******/ })
|
65
65
|
/************************************************************************/
|
66
66
|
/******/ ([
|
67
67
|
/* 0 */
|
68
|
-
/***/ (function(module, exports, __webpack_require__) {
|
69
|
-
|
70
|
-
var require;var require;(function(f){if(true){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Ez = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return require(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
71
|
-
"use strict";
|
72
|
-
|
73
|
-
Object.defineProperty(exports, "__esModule", {
|
74
|
-
value: true
|
75
|
-
});
|
76
|
-
exports.easeInQuad = easeInQuad;
|
77
|
-
exports.easeOutQuad = easeOutQuad;
|
78
|
-
exports.easeInOutQuad = easeInOutQuad;
|
79
|
-
exports.easeInCubic = easeInCubic;
|
80
|
-
exports.easeOutCubic = easeOutCubic;
|
81
|
-
exports.easeInOutCubic = easeInOutCubic;
|
82
|
-
exports.easeInQuart = easeInQuart;
|
83
|
-
exports.easeOutQuart = easeOutQuart;
|
84
|
-
exports.easeInOutQuart = easeInOutQuart;
|
85
|
-
exports.easeInQuint = easeInQuint;
|
86
|
-
exports.easeOutQuint = easeOutQuint;
|
87
|
-
exports.easeInOutQuint = easeInOutQuint;
|
88
|
-
exports.easeInSine = easeInSine;
|
89
|
-
exports.easeOutSine = easeOutSine;
|
90
|
-
exports.easeInOutSine = easeInOutSine;
|
91
|
-
exports.easeInExpo = easeInExpo;
|
92
|
-
exports.easeOutExpo = easeOutExpo;
|
93
|
-
exports.easeInOutExpo = easeInOutExpo;
|
94
|
-
exports.easeInCirc = easeInCirc;
|
95
|
-
exports.easeOutCirc = easeOutCirc;
|
96
|
-
exports.easeInOutCirc = easeInOutCirc;
|
97
|
-
exports.easeInElastic = easeInElastic;
|
98
|
-
exports.easeOutElastic = easeOutElastic;
|
99
|
-
exports.easeInOutElastic = easeInOutElastic;
|
100
|
-
exports.easeInBack = easeInBack;
|
101
|
-
exports.easeOutBack = easeOutBack;
|
102
|
-
exports.easeInOutBack = easeInOutBack;
|
103
|
-
exports.easeInBounce = easeInBounce;
|
104
|
-
exports.easeOutBounce = easeOutBounce;
|
105
|
-
exports.easeInOutBounce = easeInOutBounce;
|
106
|
-
|
107
|
-
function easeInQuad(t, b, c, d) {
|
108
|
-
return c * (t /= d) * t + b;
|
109
|
-
}
|
110
|
-
|
111
|
-
function easeOutQuad(t, b, c, d) {
|
112
|
-
return -c * (t /= d) * (t - 2) + b;
|
113
|
-
}
|
114
|
-
|
115
|
-
function easeInOutQuad(t, b, c, d) {
|
116
|
-
if ((t /= d / 2) < 1) return c / 2 * t * t + b;
|
117
|
-
return -c / 2 * (--t * (t - 2) - 1) + b;
|
118
|
-
}
|
119
|
-
|
120
|
-
function easeInCubic(t, b, c, d) {
|
121
|
-
return c * (t /= d) * t * t + b;
|
122
|
-
}
|
123
|
-
|
124
|
-
function easeOutCubic(t, b, c, d) {
|
125
|
-
return c * ((t = t / d - 1) * t * t + 1) + b;
|
126
|
-
}
|
127
|
-
|
128
|
-
function easeInOutCubic(t, b, c, d) {
|
129
|
-
if ((t /= d / 2) < 1) return c / 2 * t * t * t + b;
|
130
|
-
return c / 2 * ((t -= 2) * t * t + 2) + b;
|
131
|
-
}
|
132
|
-
|
133
|
-
function easeInQuart(t, b, c, d) {
|
134
|
-
return c * (t /= d) * t * t * t + b;
|
135
|
-
}
|
136
|
-
|
137
|
-
function easeOutQuart(t, b, c, d) {
|
138
|
-
return -c * ((t = t / d - 1) * t * t * t - 1) + b;
|
139
|
-
}
|
140
|
-
|
141
|
-
function easeInOutQuart(t, b, c, d) {
|
142
|
-
if ((t /= d / 2) < 1) return c / 2 * t * t * t * t + b;
|
143
|
-
return -c / 2 * ((t -= 2) * t * t * t - 2) + b;
|
144
|
-
}
|
145
|
-
|
146
|
-
function easeInQuint(t, b, c, d) {
|
147
|
-
return c * (t /= d) * t * t * t * t + b;
|
148
|
-
}
|
149
|
-
|
150
|
-
function easeOutQuint(t, b, c, d) {
|
151
|
-
return c * ((t = t / d - 1) * t * t * t * t + 1) + b;
|
152
|
-
}
|
153
|
-
|
154
|
-
function easeInOutQuint(t, b, c, d) {
|
155
|
-
if ((t /= d / 2) < 1) return c / 2 * t * t * t * t * t + b;
|
156
|
-
return c / 2 * ((t -= 2) * t * t * t * t + 2) + b;
|
157
|
-
}
|
158
|
-
|
159
|
-
function easeInSine(t, b, c, d) {
|
160
|
-
return -c * Math.cos(t / d * (Math.PI / 2)) + c + b;
|
161
|
-
}
|
162
|
-
|
163
|
-
function easeOutSine(t, b, c, d) {
|
164
|
-
return c * Math.sin(t / d * (Math.PI / 2)) + b;
|
165
|
-
}
|
166
|
-
|
167
|
-
function easeInOutSine(t, b, c, d) {
|
168
|
-
return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b;
|
169
|
-
}
|
170
|
-
|
171
|
-
function easeInExpo(t, b, c, d) {
|
172
|
-
return t == 0 ? b : c * Math.pow(2, 10 * (t / d - 1)) + b;
|
173
|
-
}
|
174
|
-
|
175
|
-
function easeOutExpo(t, b, c, d) {
|
176
|
-
return t == d ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b;
|
177
|
-
}
|
178
|
-
|
179
|
-
function easeInOutExpo(t, b, c, d) {
|
180
|
-
if (t == 0) return b;
|
181
|
-
if (t == d) return b + c;
|
182
|
-
if ((t /= d / 2) < 1) return c / 2 * Math.pow(2, 10 * (t - 1)) + b;
|
183
|
-
return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b;
|
184
|
-
}
|
185
|
-
|
186
|
-
function easeInCirc(t, b, c, d) {
|
187
|
-
return -c * (Math.sqrt(1 - (t /= d) * t) - 1) + b;
|
188
|
-
}
|
189
|
-
|
190
|
-
function easeOutCirc(t, b, c, d) {
|
191
|
-
return c * Math.sqrt(1 - (t = t / d - 1) * t) + b;
|
192
|
-
}
|
193
|
-
|
194
|
-
function easeInOutCirc(t, b, c, d) {
|
195
|
-
if ((t /= d / 2) < 1) return -c / 2 * (Math.sqrt(1 - t * t) - 1) + b;
|
196
|
-
return c / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + b;
|
197
|
-
}
|
198
|
-
|
199
|
-
function easeInElastic(t, b, c, d) {
|
200
|
-
var s = 1.70158;var p = 0;var a = c;
|
201
|
-
if (t == 0) return b;if ((t /= d) == 1) return b + c;if (!p) p = d * .3;
|
202
|
-
|
203
|
-
if (a < Math.abs(c)) {
|
204
|
-
a = c;var s = p / 4;
|
205
|
-
} else var s = p / (2 * Math.PI) * Math.asin(c / a);
|
206
|
-
return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
|
207
|
-
}
|
208
|
-
|
209
|
-
function easeOutElastic(t, b, c, d) {
|
210
|
-
var s = 1.70158;var p = 0;var a = c;
|
211
|
-
if (t == 0) return b;if ((t /= d) == 1) return b + c;if (!p) p = d * .3;
|
212
|
-
|
213
|
-
if (a < Math.abs(c)) {
|
214
|
-
a = c;var s = p / 4;
|
215
|
-
} else var s = p / (2 * Math.PI) * Math.asin(c / a);
|
216
|
-
return a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * (2 * Math.PI) / p) + c + b;
|
217
|
-
}
|
218
|
-
|
219
|
-
function easeInOutElastic(t, b, c, d) {
|
220
|
-
var s = 1.70158;var p = 0;var a = c;
|
221
|
-
if (t == 0) return b;if ((t /= d / 2) == 2) return b + c;if (!p) p = d * (.3 * 1.5);
|
222
|
-
|
223
|
-
if (a < Math.abs(c)) {
|
224
|
-
a = c;var s = p / 4;
|
225
|
-
} else var s = p / (2 * Math.PI) * Math.asin(c / a);
|
226
|
-
if (t < 1) return -.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
|
227
|
-
return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p) * .5 + c + b;
|
228
|
-
}
|
229
|
-
|
230
|
-
function easeInBack(t, b, c, d, s) {
|
231
|
-
if (s == undefined) s = 1.70158;
|
232
|
-
return c * (t /= d) * t * ((s + 1) * t - s) + b;
|
233
|
-
}
|
234
|
-
|
235
|
-
function easeOutBack(t, b, c, d, s) {
|
236
|
-
if (s == undefined) s = 1.70158;
|
237
|
-
return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b;
|
238
|
-
}
|
239
|
-
|
240
|
-
function easeInOutBack(t, b, c, d, s) {
|
241
|
-
if (s == undefined) s = 1.70158;
|
242
|
-
if ((t /= d / 2) < 1) return c / 2 * (t * t * (((s *= 1.525) + 1) * t - s)) + b;
|
243
|
-
return c / 2 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2) + b;
|
244
|
-
}
|
245
|
-
|
246
|
-
function easeInBounce(t, b, c, d) {
|
247
|
-
return c - easeOutBounce(d - t, 0, c, d) + b;
|
248
|
-
}
|
249
|
-
|
250
|
-
function easeOutBounce(t, b, c, d) {
|
251
|
-
|
252
|
-
if ((t /= d) < 1 / 2.75) {
|
253
|
-
return c * (7.5625 * t * t) + b;
|
254
|
-
} else if (t < 2 / 2.75) {
|
255
|
-
return c * (7.5625 * (t -= 1.5 / 2.75) * t + .75) + b;
|
256
|
-
} else if (t < 2.5 / 2.75) {
|
257
|
-
return c * (7.5625 * (t -= 2.25 / 2.75) * t + .9375) + b;
|
258
|
-
} else {
|
259
|
-
return c * (7.5625 * (t -= 2.625 / 2.75) * t + .984375) + b;
|
260
|
-
}
|
261
|
-
}
|
262
|
-
|
263
|
-
function easeInOutBounce(t, b, c, d) {
|
264
|
-
if (t < d / 2) return easeInBounce(t * 2, 0, c, d) * .5 + b;
|
265
|
-
return easeOutBounce(t * 2 - d, 0, c, d) * .5 + c * .5 + b;
|
266
|
-
}
|
267
|
-
|
268
|
-
},{}]},{},[1])(1)
|
269
|
-
});
|
270
|
-
|
271
|
-
/***/ }),
|
272
|
-
/* 1 */
|
273
68
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
274
69
|
|
275
70
|
"use strict";
|
276
71
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
277
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jump_js__ = __webpack_require__(
|
278
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ez_js__ = __webpack_require__(
|
72
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jump_js__ = __webpack_require__(1);
|
73
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ez_js__ = __webpack_require__(2);
|
279
74
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ez_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_ez_js__);
|
280
75
|
/* global document */
|
281
76
|
|
@@ -284,18 +79,13 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
284
79
|
|
285
80
|
|
286
81
|
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
console.log("key", key);
|
292
|
-
console.log(__WEBPACK_IMPORTED_MODULE_1_ez_js__[key](100, 0, 10, 1000));
|
293
|
-
}
|
294
|
-
|
82
|
+
// for (const key of Object.keys(ez)) {
|
83
|
+
// console.log("key", key);
|
84
|
+
// console.log(ez[key](100, 0, 10, 1000));
|
85
|
+
// }
|
295
86
|
const ready = __webpack_require__(3);
|
296
|
-
|
297
87
|
ready(() => {
|
298
|
-
console.log('DOM is ready');
|
88
|
+
// console.log('DOM is ready');
|
299
89
|
// We get all h2 elements
|
300
90
|
const list = document.getElementsByClassName('jump-link');
|
301
91
|
// Get the menu ul
|
@@ -304,23 +94,25 @@ ready(() => {
|
|
304
94
|
for (let i = 0; i < list.length; i++) {
|
305
95
|
const element = list.item(i); // Isolate
|
306
96
|
let target = element.getAttribute('href');
|
307
|
-
console.log(target);
|
97
|
+
// console.log(target);
|
308
98
|
element.addEventListener('click', e => {
|
309
99
|
e.preventDefault();
|
310
100
|
Object(__WEBPACK_IMPORTED_MODULE_0_jump_js__["a" /* default */])(target, {
|
311
101
|
duration: 1500,
|
312
102
|
callback: () => {
|
313
|
-
console.log('did the jump!');
|
103
|
+
// console.log('did the jump!');
|
314
104
|
},
|
315
105
|
easing: __WEBPACK_IMPORTED_MODULE_1_ez_js___default.a,
|
316
106
|
a11y: false
|
317
|
-
})
|
107
|
+
});
|
108
|
+
}, false);
|
318
109
|
}
|
319
110
|
}
|
320
111
|
});
|
321
112
|
|
113
|
+
|
322
114
|
/***/ }),
|
323
|
-
/*
|
115
|
+
/* 1 */
|
324
116
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
325
117
|
|
326
118
|
"use strict";
|
@@ -493,6 +285,211 @@ var singleton = jumper();
|
|
493
285
|
/* harmony default export */ __webpack_exports__["a"] = (singleton);
|
494
286
|
|
495
287
|
|
288
|
+
/***/ }),
|
289
|
+
/* 2 */
|
290
|
+
/***/ (function(module, exports, __webpack_require__) {
|
291
|
+
|
292
|
+
var require;var require;(function(f){if(true){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Ez = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return require(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
293
|
+
"use strict";
|
294
|
+
|
295
|
+
Object.defineProperty(exports, "__esModule", {
|
296
|
+
value: true
|
297
|
+
});
|
298
|
+
exports.easeInQuad = easeInQuad;
|
299
|
+
exports.easeOutQuad = easeOutQuad;
|
300
|
+
exports.easeInOutQuad = easeInOutQuad;
|
301
|
+
exports.easeInCubic = easeInCubic;
|
302
|
+
exports.easeOutCubic = easeOutCubic;
|
303
|
+
exports.easeInOutCubic = easeInOutCubic;
|
304
|
+
exports.easeInQuart = easeInQuart;
|
305
|
+
exports.easeOutQuart = easeOutQuart;
|
306
|
+
exports.easeInOutQuart = easeInOutQuart;
|
307
|
+
exports.easeInQuint = easeInQuint;
|
308
|
+
exports.easeOutQuint = easeOutQuint;
|
309
|
+
exports.easeInOutQuint = easeInOutQuint;
|
310
|
+
exports.easeInSine = easeInSine;
|
311
|
+
exports.easeOutSine = easeOutSine;
|
312
|
+
exports.easeInOutSine = easeInOutSine;
|
313
|
+
exports.easeInExpo = easeInExpo;
|
314
|
+
exports.easeOutExpo = easeOutExpo;
|
315
|
+
exports.easeInOutExpo = easeInOutExpo;
|
316
|
+
exports.easeInCirc = easeInCirc;
|
317
|
+
exports.easeOutCirc = easeOutCirc;
|
318
|
+
exports.easeInOutCirc = easeInOutCirc;
|
319
|
+
exports.easeInElastic = easeInElastic;
|
320
|
+
exports.easeOutElastic = easeOutElastic;
|
321
|
+
exports.easeInOutElastic = easeInOutElastic;
|
322
|
+
exports.easeInBack = easeInBack;
|
323
|
+
exports.easeOutBack = easeOutBack;
|
324
|
+
exports.easeInOutBack = easeInOutBack;
|
325
|
+
exports.easeInBounce = easeInBounce;
|
326
|
+
exports.easeOutBounce = easeOutBounce;
|
327
|
+
exports.easeInOutBounce = easeInOutBounce;
|
328
|
+
|
329
|
+
function easeInQuad(t, b, c, d) {
|
330
|
+
return c * (t /= d) * t + b;
|
331
|
+
}
|
332
|
+
|
333
|
+
function easeOutQuad(t, b, c, d) {
|
334
|
+
return -c * (t /= d) * (t - 2) + b;
|
335
|
+
}
|
336
|
+
|
337
|
+
function easeInOutQuad(t, b, c, d) {
|
338
|
+
if ((t /= d / 2) < 1) return c / 2 * t * t + b;
|
339
|
+
return -c / 2 * (--t * (t - 2) - 1) + b;
|
340
|
+
}
|
341
|
+
|
342
|
+
function easeInCubic(t, b, c, d) {
|
343
|
+
return c * (t /= d) * t * t + b;
|
344
|
+
}
|
345
|
+
|
346
|
+
function easeOutCubic(t, b, c, d) {
|
347
|
+
return c * ((t = t / d - 1) * t * t + 1) + b;
|
348
|
+
}
|
349
|
+
|
350
|
+
function easeInOutCubic(t, b, c, d) {
|
351
|
+
if ((t /= d / 2) < 1) return c / 2 * t * t * t + b;
|
352
|
+
return c / 2 * ((t -= 2) * t * t + 2) + b;
|
353
|
+
}
|
354
|
+
|
355
|
+
function easeInQuart(t, b, c, d) {
|
356
|
+
return c * (t /= d) * t * t * t + b;
|
357
|
+
}
|
358
|
+
|
359
|
+
function easeOutQuart(t, b, c, d) {
|
360
|
+
return -c * ((t = t / d - 1) * t * t * t - 1) + b;
|
361
|
+
}
|
362
|
+
|
363
|
+
function easeInOutQuart(t, b, c, d) {
|
364
|
+
if ((t /= d / 2) < 1) return c / 2 * t * t * t * t + b;
|
365
|
+
return -c / 2 * ((t -= 2) * t * t * t - 2) + b;
|
366
|
+
}
|
367
|
+
|
368
|
+
function easeInQuint(t, b, c, d) {
|
369
|
+
return c * (t /= d) * t * t * t * t + b;
|
370
|
+
}
|
371
|
+
|
372
|
+
function easeOutQuint(t, b, c, d) {
|
373
|
+
return c * ((t = t / d - 1) * t * t * t * t + 1) + b;
|
374
|
+
}
|
375
|
+
|
376
|
+
function easeInOutQuint(t, b, c, d) {
|
377
|
+
if ((t /= d / 2) < 1) return c / 2 * t * t * t * t * t + b;
|
378
|
+
return c / 2 * ((t -= 2) * t * t * t * t + 2) + b;
|
379
|
+
}
|
380
|
+
|
381
|
+
function easeInSine(t, b, c, d) {
|
382
|
+
return -c * Math.cos(t / d * (Math.PI / 2)) + c + b;
|
383
|
+
}
|
384
|
+
|
385
|
+
function easeOutSine(t, b, c, d) {
|
386
|
+
return c * Math.sin(t / d * (Math.PI / 2)) + b;
|
387
|
+
}
|
388
|
+
|
389
|
+
function easeInOutSine(t, b, c, d) {
|
390
|
+
return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b;
|
391
|
+
}
|
392
|
+
|
393
|
+
function easeInExpo(t, b, c, d) {
|
394
|
+
return t == 0 ? b : c * Math.pow(2, 10 * (t / d - 1)) + b;
|
395
|
+
}
|
396
|
+
|
397
|
+
function easeOutExpo(t, b, c, d) {
|
398
|
+
return t == d ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b;
|
399
|
+
}
|
400
|
+
|
401
|
+
function easeInOutExpo(t, b, c, d) {
|
402
|
+
if (t == 0) return b;
|
403
|
+
if (t == d) return b + c;
|
404
|
+
if ((t /= d / 2) < 1) return c / 2 * Math.pow(2, 10 * (t - 1)) + b;
|
405
|
+
return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b;
|
406
|
+
}
|
407
|
+
|
408
|
+
function easeInCirc(t, b, c, d) {
|
409
|
+
return -c * (Math.sqrt(1 - (t /= d) * t) - 1) + b;
|
410
|
+
}
|
411
|
+
|
412
|
+
function easeOutCirc(t, b, c, d) {
|
413
|
+
return c * Math.sqrt(1 - (t = t / d - 1) * t) + b;
|
414
|
+
}
|
415
|
+
|
416
|
+
function easeInOutCirc(t, b, c, d) {
|
417
|
+
if ((t /= d / 2) < 1) return -c / 2 * (Math.sqrt(1 - t * t) - 1) + b;
|
418
|
+
return c / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + b;
|
419
|
+
}
|
420
|
+
|
421
|
+
function easeInElastic(t, b, c, d) {
|
422
|
+
var s = 1.70158;var p = 0;var a = c;
|
423
|
+
if (t == 0) return b;if ((t /= d) == 1) return b + c;if (!p) p = d * .3;
|
424
|
+
|
425
|
+
if (a < Math.abs(c)) {
|
426
|
+
a = c;var s = p / 4;
|
427
|
+
} else var s = p / (2 * Math.PI) * Math.asin(c / a);
|
428
|
+
return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
|
429
|
+
}
|
430
|
+
|
431
|
+
function easeOutElastic(t, b, c, d) {
|
432
|
+
var s = 1.70158;var p = 0;var a = c;
|
433
|
+
if (t == 0) return b;if ((t /= d) == 1) return b + c;if (!p) p = d * .3;
|
434
|
+
|
435
|
+
if (a < Math.abs(c)) {
|
436
|
+
a = c;var s = p / 4;
|
437
|
+
} else var s = p / (2 * Math.PI) * Math.asin(c / a);
|
438
|
+
return a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * (2 * Math.PI) / p) + c + b;
|
439
|
+
}
|
440
|
+
|
441
|
+
function easeInOutElastic(t, b, c, d) {
|
442
|
+
var s = 1.70158;var p = 0;var a = c;
|
443
|
+
if (t == 0) return b;if ((t /= d / 2) == 2) return b + c;if (!p) p = d * (.3 * 1.5);
|
444
|
+
|
445
|
+
if (a < Math.abs(c)) {
|
446
|
+
a = c;var s = p / 4;
|
447
|
+
} else var s = p / (2 * Math.PI) * Math.asin(c / a);
|
448
|
+
if (t < 1) return -.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b;
|
449
|
+
return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p) * .5 + c + b;
|
450
|
+
}
|
451
|
+
|
452
|
+
function easeInBack(t, b, c, d, s) {
|
453
|
+
if (s == undefined) s = 1.70158;
|
454
|
+
return c * (t /= d) * t * ((s + 1) * t - s) + b;
|
455
|
+
}
|
456
|
+
|
457
|
+
function easeOutBack(t, b, c, d, s) {
|
458
|
+
if (s == undefined) s = 1.70158;
|
459
|
+
return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b;
|
460
|
+
}
|
461
|
+
|
462
|
+
function easeInOutBack(t, b, c, d, s) {
|
463
|
+
if (s == undefined) s = 1.70158;
|
464
|
+
if ((t /= d / 2) < 1) return c / 2 * (t * t * (((s *= 1.525) + 1) * t - s)) + b;
|
465
|
+
return c / 2 * ((t -= 2) * t * (((s *= 1.525) + 1) * t + s) + 2) + b;
|
466
|
+
}
|
467
|
+
|
468
|
+
function easeInBounce(t, b, c, d) {
|
469
|
+
return c - easeOutBounce(d - t, 0, c, d) + b;
|
470
|
+
}
|
471
|
+
|
472
|
+
function easeOutBounce(t, b, c, d) {
|
473
|
+
|
474
|
+
if ((t /= d) < 1 / 2.75) {
|
475
|
+
return c * (7.5625 * t * t) + b;
|
476
|
+
} else if (t < 2 / 2.75) {
|
477
|
+
return c * (7.5625 * (t -= 1.5 / 2.75) * t + .75) + b;
|
478
|
+
} else if (t < 2.5 / 2.75) {
|
479
|
+
return c * (7.5625 * (t -= 2.25 / 2.75) * t + .9375) + b;
|
480
|
+
} else {
|
481
|
+
return c * (7.5625 * (t -= 2.625 / 2.75) * t + .984375) + b;
|
482
|
+
}
|
483
|
+
}
|
484
|
+
|
485
|
+
function easeInOutBounce(t, b, c, d) {
|
486
|
+
if (t < d / 2) return easeInBounce(t * 2, 0, c, d) * .5 + b;
|
487
|
+
return easeOutBounce(t * 2 - d, 0, c, d) * .5 + c * .5 + b;
|
488
|
+
}
|
489
|
+
|
490
|
+
},{}]},{},[1])(1)
|
491
|
+
});
|
492
|
+
|
496
493
|
/***/ }),
|
497
494
|
/* 3 */
|
498
495
|
/***/ (function(module, exports, __webpack_require__) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-tou-dai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fabianmoronzirfas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-nav-gen
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
175
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
176
|
+
rubygems_version: 2.6.13
|
177
177
|
signing_key:
|
178
178
|
specification_version: 4
|
179
179
|
summary: A pretty simple theme. For me...
|