An open API service indexing awesome lists of open source software.

https://github.com/megapixel99/attdevelopercompetition2018

Submission for the 2018 AT&T App developer Competition
https://github.com/megapixel99/attdevelopercompetition2018

firefox firefox-addon google greasemonkey greasemonkey-script greasemonkey-userscript javascript jquery nodejs

Last synced: about 1 year ago
JSON representation

Submission for the 2018 AT&T App developer Competition

Awesome Lists containing this project

README

          

# Polyfill for `Object.setPrototypeOf`

A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8.

## Usage:

```
$ npm install --save setprototypeof
```

```javascript
var setPrototypeOf = require('setprototypeof');

var obj = {};
setPrototypeOf(obj, {
foo: function() {
return 'bar';
}
});
obj.foo(); // bar
```