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:
5
node_modules/es5-ext/boolean/index.js
generated
vendored
Normal file
5
node_modules/es5-ext/boolean/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
isBoolean: require('./is-boolean')
|
||||
};
|
||||
10
node_modules/es5-ext/boolean/is-boolean.js
generated
vendored
Normal file
10
node_modules/es5-ext/boolean/is-boolean.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var toString = Object.prototype.toString
|
||||
|
||||
, id = toString.call(true);
|
||||
|
||||
module.exports = function (x) {
|
||||
return (typeof x === 'boolean') || ((typeof x === 'object') &&
|
||||
((x instanceof Boolean) || (toString.call(x) === id)));
|
||||
};
|
||||
Reference in New Issue
Block a user