1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-04 21:07:16 -05:00
notes/node_modules/stylelint/lib/utils/blurInterpolation.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

8 lines
238 B
JavaScript

/* @flow */
"use strict"
module.exports = function (source/*: string*/)/*: string*/ {
const blurChar/*: string*/ = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : " "
return source.replace(/[#@{}]+/g, blurChar)
}