MCPcopy Create free account
hub / github.com/Vectorized/Aris / getCSSFixer

Function getCSSFixer

aris.js:329–334  ·  view source on GitHub ↗
(what, before, after, replacement)

Source from the content-addressed store, hash-verified

327 }
328
329 var getCSSFixer = function (what, before, after, replacement) {
330 var re = RegExp(before + '(' + what.join('|') + ')' + after, 'g');
331 return function (css) {
332 return what.length ? css.replace(re, replacement) : css;
333 }
334 };
335
336 var fixCSSFunctions = noBrowser ? noop : (function () {
337 var bgi = 'backgroundImage', gradient = '-gradient'; // for better compression lol

Callers 1

aris.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected