(node)
| 542 | /*! (c) Andrea Giammarchi - ISC */ |
| 543 | |
| 544 | var find = function find(node) { |
| 545 | var firstChild = node.firstChild; |
| 546 | |
| 547 | while (firstChild && firstChild.nodeType !== 1) { |
| 548 | firstChild = firstChild.nextSibling; |
| 549 | } |
| 550 | |
| 551 | if (firstChild) return firstChild; |
| 552 | throw 'unobservable'; |
| 553 | }; |
| 554 | |
| 555 | var observe = disconnected({ |
| 556 | Event: CustomEvent$1, |