busterjs/buster — Issue #120: IE8 compatibility: use replacement for Object.create(..)
Author: meisl
Created: 2012-03-05 21:41:35+00:00
State: open

**Setup:**
- WinXP Pro SP3 32bit, node 0.6.11 via .msi installer, npm is 1.1.1 (came with the .msi)
- buster 0.4.5 installed via npm with a few hacks by hand to get it going:
- alongside buster/: [pre-built contextify](https://github.com/downloads/Benvie/contextify/contextify-0.1.1-node0.6-win32.zip) (ATTENTION: needs some more, not to be used as-is)
- watch-tree installed via npm into buster/node_modules (used by buster-autotest, missing from deps) - yet this is *defunct on Win*
-simple browser tests (html-scaffold only) use the 0.4.5 [buster-test.js](http://busterjs.org/releases/0.4.5/buster-test.js) and [buster-test.css](http://busterjs.org/releases/0.4.5/buster-test.css) from [busterjs.org](http://busterjs.org/download/)

**Problem:**
IE8 doesn't support Object.create(..) which is used in buster-test.js line 2392 (simple browser test)

**Workaround:**
My workaround at the moment is to set Object.create to [my own](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/create#Cross-browser_compatibility) if it's undefined.
However, I'm pretty sure you guys already have a replacement in place somewhere, just not always using it.

p.s.: I'm fully aware that Windows support is a thing for the future - just trying to help a little with it.