1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 02:42:48 +00:00

updated bunch of file paths and changed the way posts are loaded

This commit is contained in:
2016-01-05 12:28:04 -06:00
parent 4bb8cae81e
commit 6ab45fe935
13249 changed files with 317868 additions and 2101398 deletions

6
node_modules/es5-ext/math/tanh/implement.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
'use strict';
if (!require('./is-implemented')()) {
Object.defineProperty(Math, 'tanh', { value: require('./shim'),
configurable: true, enumerable: false, writable: true });
}

5
node_modules/es5-ext/math/tanh/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
'use strict';
module.exports = require('./is-implemented')()
? Math.tanh
: require('./shim');

7
node_modules/es5-ext/math/tanh/is-implemented.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
'use strict';
module.exports = function () {
var tanh = Math.tanh;
if (typeof tanh !== 'function') return false;
return ((tanh(1) === 0.7615941559557649) && (tanh(Number.MAX_VALUE) === 1));
};

17
node_modules/es5-ext/math/tanh/shim.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
'use strict';
var exp = Math.exp;
module.exports = function (x) {
var a, b;
if (isNaN(x)) return NaN;
x = Number(x);
if (x === 0) return x;
if (x === Infinity) return 1;
if (x === -Infinity) return -1;
a = exp(x);
if (a === Infinity) return 1;
b = exp(-x);
if (b === Infinity) return -1;
return (a - b) / (a + b);
};