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 4bb8cae81e
commit 6ab45fe935
13249 changed files with 317868 additions and 2101398 deletions

20
node_modules/es5-ext/array/generate.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
'use strict';
var toPosInt = require('../number/to-pos-integer')
, value = require('../object/valid-value')
, slice = Array.prototype.slice;
module.exports = function (length/*, …fill*/) {
var arr, l;
length = toPosInt(value(length));
if (length === 0) return [];
arr = (arguments.length < 2) ? [undefined] :
slice.call(arguments, 1, 1 + length);
while ((l = arr.length) < length) {
arr = arr.concat(arr.slice(0, length - l));
}
return arr;
};