first commit
This commit is contained in:
15
node_modules/lottie-web/player/js/utils/pooling/pooling.js
generated
vendored
Normal file
15
node_modules/lottie-web/player/js/utils/pooling/pooling.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import {
|
||||
createSizedArray,
|
||||
} from '../helpers/arrays';
|
||||
|
||||
const pooling = (function () {
|
||||
function double(arr) {
|
||||
return arr.concat(createSizedArray(arr.length));
|
||||
}
|
||||
|
||||
return {
|
||||
double: double,
|
||||
};
|
||||
}());
|
||||
|
||||
export default pooling;
|
Reference in New Issue
Block a user