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

3
node_modules/es6-weak-map/test/implement.js generated vendored Normal file
View File

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

6
node_modules/es6-weak-map/test/index.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
'use strict';
module.exports = function (T, a) {
var x = {};
a((new T([[x, 'foo']])).get(x), 'foo');
};

3
node_modules/es6-weak-map/test/is-implemented.js generated vendored Normal file
View File

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

View File

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

16
node_modules/es6-weak-map/test/is-weak-map.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
var WeakMapPoly = require('../polyfill');
module.exports = function (t, a) {
a(t(undefined), false, "Undefined");
a(t(null), false, "Null");
a(t(true), false, "Primitive");
a(t('raz'), false, "String");
a(t({}), false, "Object");
a(t([]), false, "Array");
if (typeof WeakMap !== 'undefined') {
a(t(new WeakMap()), true, "Native");
}
a(t(new WeakMapPoly()), true, "Polyfill");
};

22
node_modules/es6-weak-map/test/polyfill.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
'use strict';
module.exports = function (T, a) {
var x = {}, y = {}, z = {}, arr = [[x, 'raz'], [y, 'dwa']], map = new T(arr);
a(map instanceof T, true, "WeakMap");
a(map.has(x), true, "Has: true");
a(map.get(x), 'raz', "Get: contains");
a(map.has(z), false, "Has: false");
a(map.get(z), undefined, "Get: doesn't contain");
a(map.set(z, 'trzy'), map, "Set: return");
a(map.has(z), true, "Add");
a(map.delete({}), false, "Delete: false");
a(map.delete(x), true, "Delete: true");
a(map.get(x), undefined, "Get: after delete");
a(map.has(x), false, "Has: after delete");
a(map.has(y), true, "Has: pre clear");
map.clear();
a(map.has(y), false, "Has: after clear");
};

19
node_modules/es6-weak-map/test/valid-weak-map.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
'use strict';
var WeakMapPoly = require('../polyfill');
module.exports = function (t, a) {
var map;
a.throws(function () { t(undefined); }, TypeError, "Undefined");
a.throws(function () { t(null); }, TypeError, "Null");
a.throws(function () { t(true); }, TypeError, "Primitive");
a.throws(function () { t('raz'); }, TypeError, "String");
a.throws(function () { t({}); }, TypeError, "Object");
a.throws(function () { t([]); }, TypeError, "Array");
if (typeof WeakMap !== 'undefined') {
map = new WeakMap();
a(t(map), map, "Native");
}
map = new WeakMapPoly();
a(t(map), map, "Polyfill");
};