Polyfills for object.create, available on bower.
This method has been added to the ECMAScript 5 specification and may not be available in all JavaScript implementations yet. Have a look there for compat table : http://kangax.github.io/compat-table/es5/#Object.create
bower install object.create --save
Include this file:
src/object.create.js
Karma tests are available and can be runned with:
karma start
This will generate the code coverage report and the documentation.
WTFPL. Do what you want with this.
- Mozilla to have provided the original polyfill,
- Kangax to have provided the compat table.