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:
13
node_modules/cli-color/art.js
generated
vendored
Normal file
13
node_modules/cli-color/art.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
var object = require('es5-ext/object/valid-object')
|
||||
, stringifiable = require('es5-ext/object/validate-stringifiable-value')
|
||||
, forOf = require('es6-iterator/for-of');
|
||||
|
||||
module.exports = function (text, style) {
|
||||
var result = '';
|
||||
text = stringifiable(text);
|
||||
object(style);
|
||||
forOf(text, function (char) { result += style[char] || char; });
|
||||
return result;
|
||||
};
|
||||
Reference in New Issue
Block a user