1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 18:52:50 +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

10
node_modules/es5-ext/test/error/#/throw.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
'use strict';
module.exports = function (t, a) {
var e = new Error();
try {
t.call(e);
} catch (e2) {
a(e2, e);
}
};

12
node_modules/es5-ext/test/error/custom.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
'use strict';
module.exports = function (t, a) {
var T = t, err = new T('My Error', 'MY_ERROR', { errno: 123 });
a(err instanceof Error, true, "Instance of error");
a(err.constructor, Error, "Constructor");
a(err.name, 'Error', "Name");
a(String(err), 'Error: My Error', "String representation");
a(err.code, 'MY_ERROR', "Code");
a(err.errno, 123, "Errno");
a(typeof err.stack, 'string', "Stack trace");
};

16
node_modules/es5-ext/test/error/is-error.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
'use strict';
module.exports = function (t, a) {
a(t(), false, "Undefined");
a(t(1), false, "Primitive");
a(t({}), false, "Objectt");
a(t({ toString: function () { return '[object Error]'; } }), false,
"Fake error");
a(t(new Error()), true, "Error");
a(t(new EvalError()), true, "EvalError");
a(t(new RangeError()), true, "RangeError");
a(t(new ReferenceError()), true, "ReferenceError");
a(t(new SyntaxError()), true, "SyntaxError");
a(t(new TypeError()), true, "TypeError");
a(t(new URIError()), true, "URIError");
};

9
node_modules/es5-ext/test/error/valid-error.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
'use strict';
module.exports = function (t, a) {
var e = new Error();
a(t(e), e, "Error");
a.throws(function () {
t({});
}, "Other");
};