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

23
node_modules/timers-ext/test/delay.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
'use strict';
module.exports = function (t, a, d) {
var data, count = 0
, x = function (a, b, c) { data = [this, a, b, c, ++count]; }
, y = t(x, 200), z = {};
a(data, undefined, "Setup");
y.call(z, 111, 'foo', false);
a(data, undefined, "Immediately");
setTimeout(function () {
a(data, undefined, "100ms");
setTimeout(function () {
a.deep(data, [z, 111, 'foo', false, 1], "250ms");
data = null;
clearTimeout(y());
setTimeout(function () {
a(data, null, "Clear");
d();
}, 300);
}, 150);
}, 100);
};

11
node_modules/timers-ext/test/max-timeout.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
'use strict';
module.exports = function (t, a, d) {
var invoked, id;
id = setTimeout(function () { invoked = true; }, t);
setTimeout(function () {
a(invoked, undefined);
clearTimeout(id);
d();
}, 100);
};

38
node_modules/timers-ext/test/once.js generated vendored Normal file
View File

@@ -0,0 +1,38 @@
'use strict';
module.exports = function (t, a, d) {
var called = 0, fn = t(function () { ++called; });
fn();
fn();
fn();
setTimeout(function () {
a(called, 1);
called = 0;
fn = t(function () { ++called; }, 50);
fn();
fn();
fn();
setTimeout(function () {
fn();
fn();
setTimeout(function () {
fn();
fn();
setTimeout(function () {
fn();
fn();
setTimeout(function () {
a(called, 1);
d();
}, 70);
}, 30);
}, 30);
}, 30);
}, 10);
};

8
node_modules/timers-ext/test/valid-timeout.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
module.exports = function (t, a) {
a(t(NaN), 0, "NaN");
a(t(-343), 0, "Negative");
a(t(232342), 232342, "Positive");
a.throws(function () { t(1e23); }, TypeError, "Too large");
};