phoboslab/Ejecta — pull request #307 by doctb (2014-01-23 00:21:46+00:00)
Title: Virtual DOM elements now support.nodeName property 

cf. http://quirksmode.org/dom/core/#t20

The following code is now working (may be useful to identify what a variable is):

```javascript
var v;

v = document.createElement('canvas');
console.log('v is a canvas: ' + (v.nodeName === 'CANVAS'));

v = new Image();
console.log('v is an image: ' + (v.nodeName === 'IMG'));

v = document.createElement('video');
console.log('v is a video element: ' + (v.nodeName === 'VIDEO'));

v = document.createElement('audio');
console.log('v is an audio element: ' + (v.nodeName === 'AUDIO'));
```