+ if ( ! node.parentNode ) {
+ continue;
+ }
+
+ if ( ie11 ) {
+ /*
+ * IE 11's implementation of MutationObserver is buggy.
+ * It unnecessarily splits text nodes when it encounters a HTML
+ * template interpolation symbol ( "{{", for example ). So, we
+ * join the text nodes back together as a work-around.
+ */
+ while( node.nextSibling && 3 === node.nextSibling.nodeType ) {
+ node.nodeValue = node.nodeValue + node.nextSibling.nodeValue;
+ node.parentNode.removeChild( node.nextSibling );
+ }
+ }
+