summaryrefslogblamecommitdiff
path: root/inc/assets/js/ast-parse-svg.js
blob: c92ff6867ad1baee440fd33848b239d878819454 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                        
function parseSVG ( svg ) {

	svg = svg.replace( "far ", "" )
	svg = svg.replace( "fas ", "" )
	svg = svg.replace( "fab ", "" )
	svg = svg.replace( "fa-", "" )
	svg = svg.replace( "fa ", "" )

	return svg
}

export default parseSVG