escapeCommas.js 292 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. Object.defineProperty(exports, "default", {
  6. enumerable: true,
  7. get: function() {
  8. return escapeCommas;
  9. }
  10. });
  11. function escapeCommas(className) {
  12. return className.replace(/\\,/g, "\\2c ");
  13. }