1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-13 03:02:49 +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 719ae331ae
commit c96a84d0ff
13249 changed files with 317868 additions and 2101398 deletions

9
node_modules/es5-ext/test/function/#/compose.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
'use strict';
var f = function (a, b) { return ['a', arguments.length, a, b]; }
, g = function (a) { return ['b', arguments.length].concat(a); }
, h = function (a) { return ['c', arguments.length].concat(a); };
module.exports = function (t, a) {
a.deep(t.call(h, g, f)(1, 2), ['c', 1, 'b', 1, 'a', 2, 1, 2]);
};

19
node_modules/es5-ext/test/function/#/copy.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
'use strict';
module.exports = function (t, a) {
var foo = 'raz', bar = 'dwa'
, fn = function marko(a, b) { return this + a + b + foo + bar; }
, result, o = {};
fn.prototype = o;
fn.foo = 'raz';
result = t.call(fn);
a(result.length, fn.length, "Length");
a(result.name, fn.name, "Length");
a(result.call('marko', 'el', 'fe'), 'markoelferazdwa', "Body");
a(result.prototype, fn.prototype, "Prototype");
a(result.foo, fn.foo, "Custom property");
};

18
node_modules/es5-ext/test/function/#/curry.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
'use strict';
var toArray = require('../../../array/to-array')
, f = function () { return toArray(arguments); };
module.exports = function (t, a) {
var x, y = {}, z;
a.deep(t.call(f, 0, 1, 2)(3), [], "0 arguments");
x = t.call(f, 5, {});
a(x.length, 5, "Length #1");
z = x(1, 2);
a(z.length, 3, "Length #2");
z = z(3, 4);
a(z.length, 1, "Length #1");
a.deep(z(5, 6), [1, 2, 3, 4, 5], "Many arguments");
a.deep(x(8, 3)(y, 45)('raz', 6), [8, 3, y, 45, 'raz'], "Many arguments #2");
};

7
node_modules/es5-ext/test/function/#/lock.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
'use strict';
module.exports = function (t, a) {
a(t.call(function () {
return arguments.length;
})(1, 2, 3), 0);
};

11
node_modules/es5-ext/test/function/#/not.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
'use strict';
var identity = require('../../../function/identity')
, noop = require('../../../function/noop');
module.exports = function (t, a) {
a(t.call(identity)(''), true, "Falsy");
a(t.call(noop)(), true, "Undefined");
a(t.call(identity)({}), false, "Any object");
a(t.call(identity)(true), false, "True");
};

9
node_modules/es5-ext/test/function/#/partial.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
'use strict';
var toArray = require('../../../array/to-array')
, f = function () { return toArray(arguments); };
module.exports = function (t, a) {
a.deep(t.call(f, 1)(2, 3), [1, 2, 3]);
};

8
node_modules/es5-ext/test/function/#/spread.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
var f = function (a, b) { return this[a] + this[b]; }
, o = { a: 3, b: 4 };
module.exports = function (t, a) {
a(t.call(f).call(o, ['a', 'b']), 7);
};

View File

@@ -0,0 +1,12 @@
'use strict';
module.exports = function (t, a) {
a.deep(t.call(function (a, b) { return this[a] + this[b]; }),
{ args: 'a, b', body: ' return this[a] + this[b]; ' });
a.deep(t.call(function () {}),
{ args: '', body: '' });
a.deep(t.call(function (raz) {}),
{ args: 'raz', body: '' });
a.deep(t.call(function () { Object(); }),
{ args: '', body: ' Object(); ' });
};

12
node_modules/es5-ext/test/function/_define-length.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
'use strict';
module.exports = function (t, a) {
var foo = 'raz', bar = 'dwa'
, fn = function (a, b) { return this + a + b + foo + bar; }
, result;
result = t(fn, 3);
a(result.call('marko', 'el', 'fe'), 'markoelferazdwa', "Content");
a(result.length, 3, "Length");
a(result.prototype, fn.prototype, "Prototype");
};

7
node_modules/es5-ext/test/function/constant.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
'use strict';
var o = {};
module.exports = function (t, a) {
a(t(o)(), o);
};

7
node_modules/es5-ext/test/function/identity.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
'use strict';
var o = {};
module.exports = function (t, a) {
a(t(o), o);
};

9
node_modules/es5-ext/test/function/invoke.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
'use strict';
var constant = require('../../function/constant')
, o = { b: constant('c') };
module.exports = function (t, a) {
a(t('b')(o), 'c');
};

11
node_modules/es5-ext/test/function/is-arguments.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
'use strict';
module.exports = function (t, a) {
var args, dummy;
args = (function () { return arguments; }());
dummy = { '0': 1, '1': 2 };
Object.defineProperty(dummy, 'length', { value: 2 });
a(t(args), true, "Arguments");
a(t(dummy), false, "Dummy");
a(t([]), false, "Array");
};

8
node_modules/es5-ext/test/function/is-function.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
var o = { call: Function.prototype.call, apply: Function.prototype.apply };
module.exports = function (t, a) {
a(t(function () {}), true, "Function is function");
a(t(o), false, "Plain object is not function");
};

5
node_modules/es5-ext/test/function/noop.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
'use strict';
module.exports = function (t, a) {
a(typeof t(1, 2, 3), 'undefined');
};

7
node_modules/es5-ext/test/function/pluck.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
'use strict';
var o = { foo: 'bar' };
module.exports = function (t, a) {
a(t('foo')(o), o.foo);
};

17
node_modules/es5-ext/test/function/valid-function.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
'use strict';
module.exports = function (t, a) {
var f = function () {};
a(t(f), f, "Function");
f = new Function();
a(t(f), f, "Function");
a.throws(function () {
t({});
}, "Object");
a.throws(function () {
t(/re/);
}, "RegExp");
a.throws(function () {
t({ call: function () { return 20; } });
}, "Plain object");
};