The LM Control website. Simple yet efficient.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
lmc_development 7934d35ba3 moving to new nodeJS server 4 лет назад
..
test moving to new nodeJS server 4 лет назад
LICENSE moving to new nodeJS server 4 лет назад
README.md moving to new nodeJS server 4 лет назад
index.d.ts moving to new nodeJS server 4 лет назад
index.js moving to new nodeJS server 4 лет назад
package.json moving to new nodeJS server 4 лет назад

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 from 'setprototypeof'