Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Noelle 9399a942b5 first commit pirms 4 gadiem
..
test first commit pirms 4 gadiem
LICENSE first commit pirms 4 gadiem
README.md first commit pirms 4 gadiem
index.d.ts first commit pirms 4 gadiem
index.js first commit pirms 4 gadiem
package.json first commit pirms 4 gadiem

README.md

Polyfill for Object.setPrototypeOf

NPM Version NPM Downloads js-standard-style

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
var setPrototypeOf = require('setprototypeof')

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

TypeScript is also supported:

import setPrototypeOf = require('setprototypeof')