razh

Results 4 comments of razh

Promises are available natively only in iojs and node 0.12 and up.

@appliqiang You need an `Array.prototype.find` polyfill. There are a [few on npm](https://yarnpkg.com/en/packages?q=array.prototype.find&p=1), as well as this version on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find#Polyfill

`initializeMyPlugin` is an example function name. You need to replace it with the jQuery plugins that you are using.

Yep, it's a browser thing! The computed value is the corresponding `rgb()` or `rgba()` value: https://developer.mozilla.org/en-US/docs/Web/CSS/color#formal_definition ```tsx const div = document.createElement('div'); div.style.color = '#958DF1'; console.log(div.style.color); // rgb(149, 141, 241) ```