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

5
node_modules/es5-ext/error/#/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
'use strict';
module.exports = {
throw: require('./throw')
};

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

@@ -0,0 +1,5 @@
'use strict';
var error = require('../valid-error');
module.exports = function () { throw error(this); };

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

@@ -0,0 +1,20 @@
'use strict';
var assign = require('../object/assign')
, captureStackTrace = Error.captureStackTrace;
exports = module.exports = function (message/*, code, ext*/) {
var err = new Error(), code = arguments[1], ext = arguments[2];
if (ext == null) {
if (code && (typeof code === 'object')) {
ext = code;
code = null;
}
}
if (ext != null) assign(err, ext);
err.message = String(message);
if (code != null) err.code = String(code);
if (captureStackTrace) captureStackTrace(err, exports);
return err;
};

8
node_modules/es5-ext/error/index.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
module.exports = {
'#': require('./#'),
custom: require('./custom'),
isError: require('./is-error'),
validError: require('./valid-error')
};

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

@@ -0,0 +1,9 @@
'use strict';
var toString = Object.prototype.toString
, id = toString.call(new Error());
module.exports = function (x) {
return (x && ((x instanceof Error) || (toString.call(x)) === id)) || false;
};

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

@@ -0,0 +1,8 @@
'use strict';
var isError = require('./is-error');
module.exports = function (x) {
if (!isError(x)) throw new TypeError(x + " is not an Error object");
return x;
};