object.create
Version:
Object.create replacement fixes bug in IE9-11
28 lines (21 loc) • 717 B
Markdown
# Object.create fix for IE9-11
This fixes the bug: [All IE Objects Are Kinda Broken](http://webreflection.blogspot.ru/2014/04/all-ie-objects-are-broken.html)
To use the Object.create fix, just drop a single JavaScript file into your page:
```html
<script src="index.js"></script>
```
or load as the Node.js module:
```javascript
require('object.create');
```
Download the [latest Object.create fix from GitHub](https://raw.githubusercontent.com/Polyfiller/Object.create/master/index.js).
**npm**
```
npm install object.create
```
**Bower**
```
bower install object.create
```
## License
The Object.create fix is released under the [MIT license](https://github.com/Polyfiller/Object.create/blob/master/LICENSE).