forked from Supositware/Haha-Yes
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
2.2 KiB
JavaScript
29 lines
2.2 KiB
JavaScript
6 years ago
|
'use strict';
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
|
||
|
var _TemplateTag = require('../TemplateTag');
|
||
|
|
||
|
var _TemplateTag2 = _interopRequireDefault(_TemplateTag);
|
||
|
|
||
|
var _inlineArrayTransformer = require('../inlineArrayTransformer');
|
||
|
|
||
|
var _inlineArrayTransformer2 = _interopRequireDefault(_inlineArrayTransformer);
|
||
|
|
||
|
var _trimResultTransformer = require('../trimResultTransformer');
|
||
|
|
||
|
var _trimResultTransformer2 = _interopRequireDefault(_trimResultTransformer);
|
||
|
|
||
|
var _replaceResultTransformer = require('../replaceResultTransformer');
|
||
|
|
||
|
var _replaceResultTransformer2 = _interopRequireDefault(_replaceResultTransformer);
|
||
|
|
||
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||
|
|
||
|
var oneLineCommaListsOr = new _TemplateTag2.default((0, _inlineArrayTransformer2.default)({ separator: ',', conjunction: 'or' }), (0, _replaceResultTransformer2.default)(/(?:\s+)/g, ' '), _trimResultTransformer2.default);
|
||
|
|
||
|
exports.default = oneLineCommaListsOr;
|
||
|
module.exports = exports['default'];
|
||
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vbmVMaW5lQ29tbWFMaXN0c09yL29uZUxpbmVDb21tYUxpc3RzT3IuanMiXSwibmFtZXMiOlsib25lTGluZUNvbW1hTGlzdHNPciIsInNlcGFyYXRvciIsImNvbmp1bmN0aW9uIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7Ozs7O0FBRUEsSUFBTUEsc0JBQXNCLDBCQ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