<commit_before>import realNode from '../util/real-node';

export default function (src, dst) {
  realNode(src).removeChild(realNode(dst));
}<commit_msg>If nodes are moved in the template then the src node won't directly contain the dst node so we must use the dst parent instead of the src.<commit_after>import realNode from '../util/real-node';

export default function (src, dst) {
  const realDst = realNode(dst);
  realDst.parentNode.removeChild(realDst);
}
{'fraction_non_alphanumeric': 0.11062906724511931, 'fraction_numerical': 0.0, 'mean_word_length': 5.078947368421052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6855702', 'n_tokens_mistral': 136, 'n_tokens_neox': 134, 'n_words': 50}