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:
8
node_modules/cli-color/strip.js
generated
vendored
Normal file
8
node_modules/cli-color/strip.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// Strip ANSI formatting from string
|
||||
|
||||
'use strict';
|
||||
|
||||
var stringifiable = require('es5-ext/object/validate-stringifiable')
|
||||
, r = require('ansi-regex')();
|
||||
|
||||
module.exports = function (str) { return stringifiable(str).replace(r, ''); };
|
||||
Reference in New Issue
Block a user