jekyll-theme-tou-dai 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/js/index.js +11 -10
- data/assets/js/main.bundle.js +222 -219
- 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: 14f22a020a0b4c9a34784ba53b674f631cd59445
|
|
4
|
+
data.tar.gz: d0a380b1fc1b3a764cbb9503f2fed3e28078878b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb482a65f704335bae6449bf842821a9070bcaa8c76bdfe61a61e6747338bfa0a12fd70d880f6b1928d2e9542dc0755a580db4a8841d61bf996d7dc0cc696f3b
|
|
7
|
+
data.tar.gz: 4220c63907f998a6161cc2f702cc92aab16b8506cb948faf74e72fe3bf276b250a0b0c6d2b514f774288f92d6406e5155c5d6d53c6e953f4d160d8b01335bc7d
|
data/assets/js/index.js
CHANGED
|
@@ -3,15 +3,17 @@ import jump from 'jump.js';
|
|
|
3
3
|
|
|
4
4
|
// import easeInOutQuad from './easing';
|
|
5
5
|
|
|
6
|
+
import * as ez from 'ez.js';
|
|
7
|
+
|
|
6
8
|
import easeInOutQuint from 'ez.js';
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
for (const key of Object.keys(ez)) {
|
|
11
|
+
console.log("key", key);
|
|
12
|
+
console.log(ez[key](100, 0, 10, 1000));
|
|
13
|
+
}
|
|
12
14
|
const ready = require('document-ready');
|
|
13
15
|
ready(() => {
|
|
14
|
-
|
|
16
|
+
console.log('DOM is ready');
|
|
15
17
|
// We get all h2 elements
|
|
16
18
|
const list = document.getElementsByClassName('jump-link');
|
|
17
19
|
// Get the menu ul
|
|
@@ -20,18 +22,17 @@ ready(() => {
|
|
|
20
22
|
for (let i = 0; i < list.length; i++) {
|
|
21
23
|
const element = list.item(i); // Isolate
|
|
22
24
|
let target = element.getAttribute('href');
|
|
23
|
-
|
|
25
|
+
console.log(target);
|
|
24
26
|
element.addEventListener('click', e => {
|
|
25
27
|
e.preventDefault();
|
|
26
28
|
jump(target, {
|
|
27
29
|
duration: 1500,
|
|
28
30
|
callback: () => {
|
|
29
|
-
|
|
31
|
+
console.log('did the jump!');
|
|
30
32
|
},
|
|
31
33
|
easing: easeInOutQuint,
|
|
32
34
|
a11y: false
|
|
33
|
-
});
|
|
34
|
-
}, false);
|
|
35
|
+
}) }, false);
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
|
-
});
|
|
38
|
+
});
|
data/assets/js/main.bundle.js
CHANGED
|
@@ -60,17 +60,222 @@
|
|
|
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 = 1);
|
|
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 */
|
|
68
273
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
69
274
|
|
|
70
275
|
"use strict";
|
|
71
276
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
72
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jump_js__ = __webpack_require__(
|
|
73
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ez_js__ = __webpack_require__(
|
|
277
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_jump_js__ = __webpack_require__(2);
|
|
278
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ez_js__ = __webpack_require__(0);
|
|
74
279
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ez_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_ez_js__);
|
|
75
280
|
/* global document */
|
|
76
281
|
|
|
@@ -79,13 +284,18 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
|
79
284
|
|
|
80
285
|
|
|
81
286
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
for (const key of Object.keys(__WEBPACK_IMPORTED_MODULE_1_ez_js__)) {
|
|
290
|
+
|
|
291
|
+
console.log("key", key);
|
|
292
|
+
console.log(__WEBPACK_IMPORTED_MODULE_1_ez_js__[key](100, 0, 10, 1000));
|
|
293
|
+
}
|
|
294
|
+
|
|
86
295
|
const ready = __webpack_require__(3);
|
|
296
|
+
|
|
87
297
|
ready(() => {
|
|
88
|
-
|
|
298
|
+
console.log('DOM is ready');
|
|
89
299
|
// We get all h2 elements
|
|
90
300
|
const list = document.getElementsByClassName('jump-link');
|
|
91
301
|
// Get the menu ul
|
|
@@ -94,25 +304,23 @@ ready(() => {
|
|
|
94
304
|
for (let i = 0; i < list.length; i++) {
|
|
95
305
|
const element = list.item(i); // Isolate
|
|
96
306
|
let target = element.getAttribute('href');
|
|
97
|
-
|
|
307
|
+
console.log(target);
|
|
98
308
|
element.addEventListener('click', e => {
|
|
99
309
|
e.preventDefault();
|
|
100
310
|
Object(__WEBPACK_IMPORTED_MODULE_0_jump_js__["a" /* default */])(target, {
|
|
101
311
|
duration: 1500,
|
|
102
312
|
callback: () => {
|
|
103
|
-
|
|
313
|
+
console.log('did the jump!');
|
|
104
314
|
},
|
|
105
315
|
easing: __WEBPACK_IMPORTED_MODULE_1_ez_js___default.a,
|
|
106
316
|
a11y: false
|
|
107
|
-
});
|
|
108
|
-
}, false);
|
|
317
|
+
}) }, false);
|
|
109
318
|
}
|
|
110
319
|
}
|
|
111
320
|
});
|
|
112
321
|
|
|
113
|
-
|
|
114
322
|
/***/ }),
|
|
115
|
-
/*
|
|
323
|
+
/* 2 */
|
|
116
324
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
117
325
|
|
|
118
326
|
"use strict";
|
|
@@ -285,211 +493,6 @@ var singleton = jumper();
|
|
|
285
493
|
/* harmony default export */ __webpack_exports__["a"] = (singleton);
|
|
286
494
|
|
|
287
495
|
|
|
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
|
-
|
|
493
496
|
/***/ }),
|
|
494
497
|
/* 3 */
|
|
495
498
|
/***/ (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.4
|
|
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-10-31 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.7'
|
|
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.7'
|
|
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.5.2.3
|
|
177
177
|
signing_key:
|
|
178
178
|
specification_version: 4
|
|
179
179
|
summary: A pretty simple theme. For me...
|