/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 * 
 * @emails oncall+draft_js
 */

var splitTextIntoTextBlocks_1;
var hasRequiredSplitTextIntoTextBlocks;

function requireSplitTextIntoTextBlocks () {
	if (hasRequiredSplitTextIntoTextBlocks) return splitTextIntoTextBlocks_1;
	hasRequiredSplitTextIntoTextBlocks = 1;

	var NEWLINE_REGEX = /\r\n?|\n/g;

	function splitTextIntoTextBlocks(text) {
	  return text.split(NEWLINE_REGEX);
	}

	splitTextIntoTextBlocks_1 = splitTextIntoTextBlocks;
	return splitTextIntoTextBlocks_1;
}

export { requireSplitTextIntoTextBlocks as __require };
//# sourceMappingURL=splitTextIntoTextBlocks.js.map
