mapbox/tilemill — Issue #931: Client Error: Uncaught TypeError: Cannot read property 'appendChild' of undefined
Author: springmeyer
Created: 2011-11-17 17:52:36+00:00
State: open

Saw this dumped out in my tilemill console about 40 times during recent testing. Might be harmless, might indicate an issue, but logging here either way.

Error is:

```
Client Error: Uncaught TypeError: Cannot read property 'appendChild' of undefined
at http://localhost:8889/assets/tilemill/js/vendor.js:7240
```

Line 7240 of vendor.js is line 34 of codemirror.js: https://github.com/mapbox/tilemill/blob/master/assets/js/codemirror.js#L34

or:

```
if (place.appendChild) place.appendChild(wrapper); else place(wrapper);
// I've never seen more elegant code in my life.
```