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:
9
node_modules/es5-ext/reg-exp/escape.js
generated
vendored
Normal file
9
node_modules/es5-ext/reg-exp/escape.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// Thanks to Andrew Clover:
|
||||
// http://stackoverflow.com/questions/3561493
|
||||
// /is-there-a-regexp-escape-function-in-javascript
|
||||
|
||||
'use strict';
|
||||
|
||||
var re = /[\-\/\\\^$*+?.()|\[\]{}]/g;
|
||||
|
||||
module.exports = function (str) { return String(str).replace(re, '\\$&'); };
|
||||
Reference in New Issue
Block a user