react-textarea-autosize
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -154,9 +154,9 @@ 'use strict'; | ||
var onNextFrame = window.requestAnimationFrame; | ||
if (onNextFrame === undefined) { | ||
onNextFrame = function onNextFrame(cb) { | ||
function onNextFrame(cb) { | ||
if (window.requestAnimationFrame) { | ||
window.requestAnimationFrame(cb); | ||
} else { | ||
window.setTimeout(cb, 1); | ||
}; | ||
} | ||
} | ||
module.exports = exports['default']; |
{ | ||
"name": "react-textarea-autosize", | ||
"description": "textarea component for React which grows with content", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Andrey Popp", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200
25878